[#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 committed by Gitea
parent 9929dcf50b
commit f2250a316f

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
}