Merge pull request #19420 from spowelljr/fixLint

Fix lint
pull/19425/head
Steven Powell 2024-08-13 09:36:22 -07:00 committed by GitHub
commit 81ba5cec00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ func AddDockerIO(name string) string {
return addRegistryPreix(name, "docker.io")
}
func addRegistryPreix(name string, prefix string) string {
// we seperate the image name following this logic
// we separate the image name following this logic
// https://pkg.go.dev/github.com/distribution/reference#ParseNormalizedNamed
var reg, usr, img string
p := strings.SplitN(name, "/", 2)