[#129] tree: Do not remove tree if the netmap is empty

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-03-06 16:18:25 +03:00
parent 7486c02bbc
commit 3179610743

View file

@ -288,7 +288,6 @@ func (s *Service) syncLoop(ctx context.Context) {
s.log.Error("could not calculate container nodes",
zap.Stringer("cid", cnr),
zap.Error(err))
removed = append(removed, cnr)
continue
}