mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Remove unneeded assignment
Signed-off-by: Scott Rigby <scott@r6by.com>
This commit is contained in:
parent
bd754a054c
commit
ee382eb169
1 changed files with 1 additions and 3 deletions
|
|
@ -154,9 +154,7 @@ func (c *ChartDownloader) getOciURI(ref, version string, u *url.URL) (*url.URL,
|
|||
// If empty, try to get the highest available tag
|
||||
// If exact version, try to find it
|
||||
// If semver constraint string, try to find a match
|
||||
providedVersion := version
|
||||
|
||||
tag, err := registry.GetTagMatchingVersionOrConstraint(tags, providedVersion)
|
||||
tag, err := registry.GetTagMatchingVersionOrConstraint(tags, version)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue