fix misspelling

pull/19420/head
Steven Powell 2024-08-12 08:58:02 -07:00
parent 8e81f8de25
commit a40af3a873
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)