mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Rollups] remove use of custom cluster client (#99623)
This commit is contained in:
parent
da890fd24c
commit
5f618da802
1 changed files with 1 additions and 7 deletions
|
@ -9,7 +9,6 @@ import { Observable } from 'rxjs';
|
|||
import { first } from 'rxjs/operators';
|
||||
import {
|
||||
CoreSetup,
|
||||
ILegacyCustomClusterClient,
|
||||
Plugin,
|
||||
Logger,
|
||||
PluginInitializerContext,
|
||||
|
@ -33,7 +32,6 @@ export class RollupPlugin implements Plugin<void, void, any, any> {
|
|||
private readonly logger: Logger;
|
||||
private readonly globalConfig$: Observable<SharedGlobalConfig>;
|
||||
private readonly license: License;
|
||||
private rollupEsClient?: ILegacyCustomClusterClient;
|
||||
|
||||
constructor(initializerContext: PluginInitializerContext) {
|
||||
this.logger = initializerContext.logger.get();
|
||||
|
@ -121,9 +119,5 @@ export class RollupPlugin implements Plugin<void, void, any, any> {
|
|||
|
||||
start() {}
|
||||
|
||||
stop() {
|
||||
if (this.rollupEsClient) {
|
||||
this.rollupEsClient.close();
|
||||
}
|
||||
}
|
||||
stop() {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue