Merge pull request #6358 from jonyhy96/feat-error

refactor: functions for error log and error return
This commit is contained in:
Phil Estes
2021-12-14 10:16:54 -05:00
committed by GitHub
30 changed files with 80 additions and 80 deletions

View File

@@ -280,7 +280,7 @@ outer:
info, err := cs.Info(ctx, j.Digest)
if err != nil {
if !errdefs.IsNotFound(err) {
log.G(ctx).WithError(err).Errorf("failed to get content info")
log.G(ctx).WithError(err).Error("failed to get content info")
continue outer
} else {
statuses[key] = StatusInfo{