core/images/archive: normalizeReference: remove outdated TODO

This TODO was added in 9e6db71954, 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 4923470902, so this should no longer be a
concern.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2024-03-20 11:41:50 +01:00
parent 124456ef83
commit d0d35f0d03
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -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)