Commit 84544bca authored by Matt Butcher's avatar Matt Butcher

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
parent bb2511a4
...@@ -333,8 +333,6 @@ func findVersionedEntry(version string, vers repo.ChartVersions) (*repo.ChartVer ...@@ -333,8 +333,6 @@ func findVersionedEntry(version string, vers repo.ChartVersions) (*repo.ChartVer
if version == "" || versionEquals(version, verEntry.Version) { if version == "" || versionEquals(version, verEntry.Version) {
return verEntry, nil return verEntry, nil
} }
return verEntry, nil
} }
return nil, errors.New("no matching version") return nil, errors.New("no matching version")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment