mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
feat: cleanup error msgs (#1273)
Signed-off-by: Nicol Draghici <idraghic@cisco.com>
This commit is contained in:
Vendored
+2
-2
@@ -173,7 +173,7 @@ func (d *DynamoDBDriver) HasBlob(digest godigest.Digest, path string) bool {
|
||||
out := Blob{}
|
||||
|
||||
if resp.Item == nil {
|
||||
d.log.Error().Err(zerr.ErrCacheMiss)
|
||||
d.log.Debug().Err(zerr.ErrCacheMiss).Str("digest", string(digest)).Msg("unable to find blob in cache")
|
||||
|
||||
return false
|
||||
}
|
||||
@@ -186,7 +186,7 @@ func (d *DynamoDBDriver) HasBlob(digest godigest.Digest, path string) bool {
|
||||
}
|
||||
}
|
||||
|
||||
d.log.Error().Err(zerr.ErrCacheMiss)
|
||||
d.log.Debug().Err(zerr.ErrCacheMiss).Str("digest", string(digest)).Msg("unable to find blob in cache")
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user