forked from TrueCloudLab/frostfs-node
[#1147] node: Use public fields for shard.ExistsPrm
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
This commit is contained in:
parent
c1af13b47e
commit
92e19feb57
9 changed files with 26 additions and 30 deletions
|
@ -142,7 +142,7 @@ func (e *StorageEngine) inhumeAddr(ctx context.Context, addr oid.Address, prm sh
|
|||
}()
|
||||
|
||||
if checkExists {
|
||||
existPrm.SetAddress(addr)
|
||||
existPrm.Address = addr
|
||||
exRes, err := sh.Exists(ctx, existPrm)
|
||||
if err != nil {
|
||||
if client.IsErrObjectAlreadyRemoved(err) || shard.IsErrObjectExpired(err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue