Skip to content

Commit

Permalink
chore(logging): remove redundant debug messages
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
  • Loading branch information
alexey-igrychev committed Mar 2, 2022
1 parent bfece40 commit ebba33b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/storage/repo_stages_storage.go
Expand Up @@ -199,8 +199,6 @@ func (storage *RepoStagesStorage) GetStagesIDsByDigest(ctx context.Context, _, d
if tags, err := storage.DockerRegistry.Tags(ctx, storage.RepoAddress); err != nil {
return nil, fmt.Errorf("unable to fetch tags for repo %q: %s", storage.RepoAddress, err)
} else {
logboek.Context(ctx).Debug().LogF("-- RepoStagesStorage.GetRepoImagesByDigest fetched tags for %q: %#v\n", storage.RepoAddress, tags)

var rejectedStages []image.StageID

for _, tag := range tags {
Expand All @@ -225,7 +223,6 @@ func (storage *RepoStagesStorage) GetStagesIDsByDigest(ctx context.Context, _, d
FindSuitableStages:
for _, tag := range tags {
if !strings.HasPrefix(tag, digest) {
logboek.Context(ctx).Debug().LogF("Discard tag %q: should have prefix %q\n", tag, digest)
continue
}

Expand Down

0 comments on commit ebba33b

Please sign in to comment.