Skip to content

Commit de8ef59

Browse files
committed
Use ParseNormalizedNamed rather than ParseNamed for parsing reference
1 parent 173efcc commit de8ef59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/docker/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ type namedDockerImageReference struct {
9191
func parseNamedDockerImageReference(spec string) (namedDockerImageReference, error) {
9292
var ref namedDockerImageReference
9393

94-
namedRef, err := reference.ParseNamed(spec)
94+
namedRef, err := reference.ParseNormalizedNamed(spec)
9595
if err != nil {
9696
return ref, err
9797
}

0 commit comments

Comments
 (0)