Skip to content

Commit

Permalink
[Rollups] remove use of custom cluster client (#99623)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth authored May 10, 2021
1 parent da890fd commit 5f618da
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions x-pack/plugins/rollup/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { Observable } from 'rxjs';
import { first } from 'rxjs/operators';
import {
CoreSetup,
ILegacyCustomClusterClient,
Plugin,
Logger,
PluginInitializerContext,
Expand All @@ -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();
Expand Down Expand Up @@ -121,9 +119,5 @@ export class RollupPlugin implements Plugin<void, void, any, any> {

start() {}

stop() {
if (this.rollupEsClient) {
this.rollupEsClient.close();
}
}
stop() {}
}

0 comments on commit 5f618da

Please sign in to comment.