[#28] Fix linter issues

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
remotes/carpawell/fix/multiple-cache-update-requests-FROST
Evgenii Stratonikov 2023-01-25 14:07:47 +03:00 committed by fyrchik
parent 072a7d61ab
commit 46c62be7e8
1 changed files with 1 additions and 1 deletions

View File

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