forked from TrueCloudLab/frostfs-s3-gw
[#465] Unify log messages
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
300d4359d8
commit
de7281ac58
6 changed files with 10 additions and 10 deletions
2
api/cache/objects.go
vendored
2
api/cache/objects.go
vendored
|
@ -48,7 +48,7 @@ func (o *ObjectsCache) Get(address oid.Address) *object.Object {
|
|||
result, ok := entry.(object.Object)
|
||||
if !ok {
|
||||
o.logger.Warn("invalid cache entry type", zap.String("actual", fmt.Sprintf("%T", entry)),
|
||||
zap.String("expected", "object.Object"))
|
||||
zap.String("expected", fmt.Sprintf("%T", result)))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue