Skip to content

Commit d0d35f0

Browse files
committed
core/images/archive: normalizeReference: remove outdated TODO
This TODO was added in 9e6db71, at which time the reference package was part of the docker/distribution (registry) repository. The reference package has moved to a standalone module, which has been in use since 4923470, so this should no longer be a concern. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 124456e commit d0d35f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/images/archive/reference.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ func isImagePrefix(s, prefix string) bool {
7272
}
7373

7474
func normalizeReference(ref string) (string, error) {
75-
// TODO: Replace this function to not depend on reference package
7675
normalized, err := distref.ParseDockerRef(ref)
7776
if err != nil {
7877
return "", fmt.Errorf("normalize image ref %q: %w", ref, err)

0 commit comments

Comments
 (0)