[#288] pilorama: Add missing operation in log

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-04-26 17:31:43 +03:00 committed by Evgenii Stratonikov
parent daa26f6e9b
commit 58f1ba4b51

View file

@ -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
}