Skip to content

Commit

Permalink
Merge pull request #155 from vshn/fix/helmpatcher
Browse files Browse the repository at this point in the history
Fix typo preventing the correct api being called
  • Loading branch information
Kidswiss authored Apr 26, 2024
2 parents 0620d93 + 78acc41 commit 2973ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/maintenance/helm/helmpatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func GetRelease(ctx context.Context, k8sClient client.Client, instanceNamespace

func (h *ImagePatcher) getVersions(imageURL string) (VersionLister, error) {
// We're using docker hub's rich api to list the image tags, if it's on docker hub.
if strings.Contains(imageURL, "http://hub.docker.com") {
if strings.Contains(imageURL, "https//hub.docker.com") {
return h.getHubVersions(imageURL)
}
// For the rest we use the default registry API.
Expand Down

0 comments on commit 2973ba0

Please sign in to comment.