app/vminsert/netstorage: typo fix after 021ee53ba8

This commit is contained in:
Aliaksandr Valialkin 2022-02-07 13:20:43 +02:00
parent e2d12a25e0
commit 1a5546006d
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

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