forked from TrueCloudLab/frostfs-node
[#655] storage: Drop LazyHandler
LazyHandler is implemented and used incorrectly. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
4d5be5ccb5
commit
137e987a4e
6 changed files with 19 additions and 69 deletions
|
@ -53,9 +53,7 @@ func (b *Blobovniczas) Iterate(ctx context.Context, prm common.IteratePrm) (comm
|
|||
StorageID: []byte(p),
|
||||
})
|
||||
}
|
||||
return prm.LazyHandler(elem.Address(), func() ([]byte, error) {
|
||||
return data, err
|
||||
})
|
||||
return nil
|
||||
})
|
||||
subPrm.DecodeAddresses()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue