forked from TrueCloudLab/frostfs-node
[#1559] metabase: Use Set
prefix for parameter setting
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
f58234aa2f
commit
34d319fed2
32 changed files with 150 additions and 181 deletions
|
@ -60,7 +60,7 @@ func (c *cache) initFlushMarks() {
|
|||
|
||||
func (c *cache) isFlushed(addr oid.Address) bool {
|
||||
var existsPrm meta.ExistsPrm
|
||||
existsPrm.WithAddress(addr)
|
||||
existsPrm.SetAddress(addr)
|
||||
|
||||
mRes, err := c.metabase.Exists(existsPrm)
|
||||
if err != nil || !mRes.Exists() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue