From 3179610743711a3b2864a0ea910f390f1ffd71fe Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 6 Mar 2023 16:18:25 +0300 Subject: [PATCH] [#129] tree: Do not remove tree if the netmap is empty Signed-off-by: Evgenii Stratonikov --- pkg/services/tree/sync.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/services/tree/sync.go b/pkg/services/tree/sync.go index 96c8f88e2..d6646ab94 100644 --- a/pkg/services/tree/sync.go +++ b/pkg/services/tree/sync.go @@ -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 }