From 1a5546006d5435d9258eed2c402c11e5daca2285 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 7 Feb 2022 13:20:43 +0200 Subject: [PATCH] app/vminsert/netstorage: typo fix after 021ee53ba8cac976730fb669af54f60751181c91 --- app/vminsert/netstorage/netstorage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vminsert/netstorage/netstorage.go b/app/vminsert/netstorage/netstorage.go index 2766b2660..841a59c6b 100644 --- a/app/vminsert/netstorage/netstorage.go +++ b/app/vminsert/netstorage/netstorage.go @@ -674,7 +674,7 @@ func getNotReadyStorageNodeIdxsBlocking(dst []int, snExtra *storageNode) []int { func getNotReadyStorageNodeIdxs(dst []int, snExtra *storageNode) []int { dst = dst[:0] for i, sn := range storageNodes { - if sn == snExtra && !sn.isReady() { + if sn == snExtra || !sn.isReady() { dst = append(dst, i) } }