[#1418] blobovnicza: Do not use pointers as parameters

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-05-23 17:21:14 +03:00 committed by fyrchik
parent 281befec67
commit 021aa97965
6 changed files with 7 additions and 7 deletions

View file

@ -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")))