forked from TrueCloudLab/frostfs-node
[#237] metabase: Structure parameters and results of all operations
All parameters and resulting values of all metabase operations are structured in new types. The most popular scenarios for using operations are moved to auxiliary functions. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a875d80491
commit
590745204c
28 changed files with 482 additions and 125 deletions
|
@ -19,7 +19,7 @@ func TestDB_Containers(t *testing.T) {
|
|||
|
||||
cids[obj.ContainerID().String()] = 0
|
||||
|
||||
err := db.Put(obj.Object(), nil)
|
||||
err := putBig(db, obj.Object())
|
||||
require.NoError(t, err)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue