Skip to content

Commit

Permalink
Fix missing param in cli_setup/utils
Browse files Browse the repository at this point in the history
  • Loading branch information
gsoldevila committed Sep 9, 2022
1 parent 86b14b9 commit 6331e35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cli_setup/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { merge } from 'lodash';
import { kibanaPackageJson } from '@kbn/utils';

import { Logger } from '@kbn/core/server';
import { ClusterClient } from '@kbn/core-elasticsearch-client-server-internal';
import { AgentManager, ClusterClient } from '@kbn/core-elasticsearch-client-server-internal';
import { configSchema } from '@kbn/core-elasticsearch-server-internal';
import { ElasticsearchService } from '@kbn/interactive-setup-plugin/server/elasticsearch_service';
import { KibanaConfigWriter } from '@kbn/interactive-setup-plugin/server/kibana_config_writer';
Expand Down Expand Up @@ -47,6 +47,8 @@ export const elasticsearch = new ElasticsearchService(logger, kibanaPackageJson.
),
logger,
type,
// we use an independent AgentManager for cli_setup, no need to track performance of this one
agentManager: new AgentManager(),
});
},
},
Expand Down

0 comments on commit 6331e35

Please sign in to comment.