From 58f1ba4b518644232463c4e1be26f8dcc77da436 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 26 Apr 2023 17:31:43 +0300 Subject: [PATCH] [#288] pilorama: Add missing operation in log Signed-off-by: Evgenii Stratonikov --- pkg/local_object_storage/pilorama/forest.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/local_object_storage/pilorama/forest.go b/pkg/local_object_storage/pilorama/forest.go index 4286bdef5e..672a38edd2 100644 --- a/pkg/local_object_storage/pilorama/forest.go +++ b/pkg/local_object_storage/pilorama/forest.go @@ -89,6 +89,7 @@ func (f *memoryForest) TreeAddByPath(_ context.Context, d CIDDescriptor, treeID }, Child: s.findSpareID(), }) + s.operations = append(s.operations, op) lm[len(lm)-1] = op.Move return lm, nil }