Skip to content

Commit

Permalink
remove extra log message and continue statement
Browse files Browse the repository at this point in the history
Signed-off-by: Hussein Firas <[email protected]>
  • Loading branch information
husseinferas committed Jan 10, 2024
1 parent 770bc30 commit c2fe9ee
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/skopeo/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@ func filterSourceReferences(sys *types.SystemContext, registryName string, colle
for _, ref := range sourceReferences {
if filter(logger, ref) {
filteredSourceReferences = append(filteredSourceReferences, ref)
continue
}
}

Expand Down Expand Up @@ -474,7 +473,6 @@ func tagRegexFilterCollection(collection map[string]string) (filterCollection, e
}

f := func(logger *logrus.Entry, sourceReference types.ImageReference) bool {
logger.Infof("Start filtering using the regular expression: %v for %v", tagRegex, repoName)
tagged, isTagged := sourceReference.DockerReference().(reference.Tagged)
if !isTagged {
logger.Errorf("Internal error, reference %s does not have a tag, skipping", sourceReference.DockerReference())
Expand Down

0 comments on commit c2fe9ee

Please sign in to comment.