From 46c62be7e8493593a917c4f67e971f0d711f9b74 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 25 Jan 2023 14:07:47 +0300 Subject: [PATCH] [#28] Fix linter issues Signed-off-by: Evgenii Stratonikov --- pkg/services/tree/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/tree/sync.go b/pkg/services/tree/sync.go index 749b730552..88dd37b7e3 100644 --- a/pkg/services/tree/sync.go +++ b/pkg/services/tree/sync.go @@ -360,7 +360,7 @@ func (s *Service) syncLoop(ctx context.Context) { } // randomizeNodeOrder shuffles nodes and removes not a `pos` index. -// It is assumed that 0 <= pos < len(nodes) +// It is assumed that 0 <= pos < len(nodes). func randomizeNodeOrder(cnrNodes []netmap.NodeInfo, pos int) []netmap.NodeInfo { if len(cnrNodes) == 1 { return nil