Fix filter
This commit is contained in:
parent
67de789428
commit
0a210321ea
|
@ -22,7 +22,7 @@ async function buildInstanceHosts () {
|
|||
if (instanceVersion < 4) {
|
||||
logger.info(`Do not index ${indexHost} because the major version is too low (v${instanceVersion} < v4)`)
|
||||
|
||||
indexHosts = indexHosts.filter(h => h === indexHost)
|
||||
indexHosts = indexHosts.filter(h => h !== indexHost)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue