Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
doru1004 authored and nicolaferraro committed Jan 21, 2021
1 parent c9f7ba1 commit 5b08073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ func ExtractRegistryName(image string) (string, error) {
return "", errors.New("image path is too short, usage: registry/imageName or registry/*/imageName")
}

// Register name is given by the path to the image.
// Registry name is given by the path to the image.
return strings.Join(pathComponents[0:len(pathComponents)-1], containerFileSeparator), nil
}

0 comments on commit 5b08073

Please sign in to comment.