forked from TrueCloudLab/frostfs-node
[#1418] blobovnicza: Do not use pointers as parameters
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
281befec67
commit
021aa97965
6 changed files with 7 additions and 7 deletions
|
@ -363,7 +363,7 @@ func TestDumpIgnoreErrors(t *testing.T) {
|
|||
require.NoError(t, os.WriteFile(filepath.Join(bTree, "0", "2"), data, 0))
|
||||
|
||||
// 2.2. Invalid object in valid blobovnicza.
|
||||
prm := new(blobovnicza.PutPrm)
|
||||
var prm blobovnicza.PutPrm
|
||||
prm.SetAddress(oid.Address{})
|
||||
prm.SetMarshaledObject(corruptedData)
|
||||
b := blobovnicza.New(blobovnicza.WithPath(filepath.Join(bTree, "1", "2")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue