Merge pull request #9977 from thaJeztah/remove_todo

core/images/archive: normalizeReference: remove outdated TODO
This commit is contained in:
Phil Estes 2024-03-25 16:29:16 +00:00 committed by GitHub
commit b450bffc9e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,7 +72,6 @@ func isImagePrefix(s, prefix string) bool {
} }
func normalizeReference(ref string) (string, error) { func normalizeReference(ref string) (string, error) {
// TODO: Replace this function to not depend on reference package
normalized, err := distref.ParseDockerRef(ref) normalized, err := distref.ParseDockerRef(ref)
if err != nil { if err != nil {
return "", fmt.Errorf("normalize image ref %q: %w", ref, err) return "", fmt.Errorf("normalize image ref %q: %w", ref, err)