Merge pull request #9977 from thaJeztah/remove_todo
core/images/archive: normalizeReference: remove outdated TODO
This commit is contained in:
commit
b450bffc9e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user