From 84544bca579a3df3ad8f059b0921b4eb74dd5bff Mon Sep 17 00:00:00 2001
From: Matt Butcher <mbutcher@engineyard.com>
Date: Mon, 17 Oct 2016 12:21:45 -0600
Subject: [PATCH] fix(helm): return correct version on dep up

There was an extra return statement in a helper that was causing
the download manager to get a false positive on a release version.

Closes #1383
---
 cmd/helm/downloader/manager.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/cmd/helm/downloader/manager.go b/cmd/helm/downloader/manager.go
index 4e4ddebf2..7a1feafcd 100644
--- a/cmd/helm/downloader/manager.go
+++ b/cmd/helm/downloader/manager.go
@@ -333,8 +333,6 @@ func findVersionedEntry(version string, vers repo.ChartVersions) (*repo.ChartVer
 		if version == "" || versionEquals(version, verEntry.Version) {
 			return verEntry, nil
 		}
-
-		return verEntry, nil
 	}
 	return nil, errors.New("no matching version")
 }
-- 
GitLab