ClusterManager is created with incorrect parameters #52860
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
In the
LegacyService
, we are creating the cluster manager by passing the actual legacy configurationkibana/src/core/server/legacy/legacy_service.ts
Lines 249 to 253 in 14b8727
However the function actually expects the raw settings instead
kibana/src/cli/cluster/cluster_manager.js
Lines 35 to 42 in 03549fa
From #52251 (comment):
The fix is (well, should be) easy
However the legacy service tests are a mess, and are not properly mocking with correct object types (the config in test is actually a Record and not a LegacyConfig ). Already had to fix that in #52060, so would be easier to fix in a separate PR once it lands.
The text was updated successfully, but these errors were encountered: