mirror of
https://github.com/containers/skopeo.git
synced 2025-08-22 16:26:00 +00:00
Use MatchString instead of Match with a manual conversion
Should not change behavior AFAICT. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
16b435257b
commit
c5183d0e34
@ -364,7 +364,7 @@ func imagesToCopyFromRegistry(registryName string, cfg registrySyncConfig, sourc
|
||||
repoLogger.Errorf("Internal error, reference %s does not have a tag, skipping", sReference.DockerReference())
|
||||
continue
|
||||
}
|
||||
if tagReg.Match([]byte(tagged.Tag())) {
|
||||
if tagReg.MatchString(tagged.Tag()) {
|
||||
sourceReferences = append(sourceReferences, sReference)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user