[#1418] shard: Do not use pointers as parameters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-05-20 21:08:59 +03:00 committed by Pavel Karpy
parent 6d4d920bad
commit 5f57db6bf8
8 changed files with 10 additions and 10 deletions

View file

@ -24,7 +24,7 @@ func (e *StorageEngine) exists(addr oid.Address) (bool, error) {
e.reportShardError(sh, "could not check existence of object in shard", err)
}
if res != nil && !exists {
if !exists {
exists = res.Exists()
}