core/images/archive: normalizeReference: remove outdated TODO
This TODO was added in9e6db71954
, 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 since4923470902
, so this should no longer be a concern. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
124456ef83
commit
d0d35f0d03
@ -72,7 +72,6 @@ func isImagePrefix(s, prefix string) bool {
|
||||
}
|
||||
|
||||
func normalizeReference(ref string) (string, error) {
|
||||
// TODO: Replace this function to not depend on reference package
|
||||
normalized, err := distref.ParseDockerRef(ref)
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("normalize image ref %q: %w", ref, err)
|
||||
|
Loading…
Reference in New Issue
Block a user