fix(clustertool): handle with oci repository reference with trailing slash

This commit is contained in:
Kjeld Schouten
2025-04-07 20:47:49 +02:00
parent 3ac3e8c2a9
commit 5ed725e528
+6 -1
View File
@@ -99,7 +99,12 @@ func HelmPull(repo string, name string, version string, dest string, silent bool
updateHelmRepo(repoName, repo, silent)
repo = repoName
} else {
link = repo + "/" + name
link := repo
if !strings.HasSuffix(repo, "/") {
link += "/"
}
link += name
client.RepoURL = ""
client.RepoURL = ""
}