forked from TrueCloudLab/frostfs-node
[#1437] node: Fix contextcheck linter
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
6921a89061
commit
7429553266
209 changed files with 1068 additions and 1036 deletions
|
@ -117,7 +117,7 @@ func (e *StorageEngine) head(ctx context.Context, prm HeadPrm) (HeadRes, error)
|
|||
outError = new(apistatus.ObjectNotFound)
|
||||
return true
|
||||
default:
|
||||
e.reportShardError(sh, "could not head object from shard", err, zap.Stringer("address", prm.addr))
|
||||
e.reportShardError(ctx, sh, "could not head object from shard", err, zap.Stringer("address", prm.addr))
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue