diff --git a/server/lib/elastic-search/elastic-search-instances.ts b/server/lib/elastic-search/elastic-search-instances.ts index 194e67e..78ccc07 100644 --- a/server/lib/elastic-search/elastic-search-instances.ts +++ b/server/lib/elastic-search/elastic-search-instances.ts @@ -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) } }