mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
app/vminsert/netstorage: typo fix after 021ee53ba8
This commit is contained in:
parent
e2d12a25e0
commit
1a5546006d
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ func getNotReadyStorageNodeIdxsBlocking(dst []int, snExtra *storageNode) []int {
|
||||||
func getNotReadyStorageNodeIdxs(dst []int, snExtra *storageNode) []int {
|
func getNotReadyStorageNodeIdxs(dst []int, snExtra *storageNode) []int {
|
||||||
dst = dst[:0]
|
dst = dst[:0]
|
||||||
for i, sn := range storageNodes {
|
for i, sn := range storageNodes {
|
||||||
if sn == snExtra && !sn.isReady() {
|
if sn == snExtra || !sn.isReady() {
|
||||||
dst = append(dst, i)
|
dst = append(dst, i)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue