Skip to content

Commit

Permalink
rename contract
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed May 25, 2020
1 parent 77d9d9b commit 0f0a269
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/telemetry_collection_xpack/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { TelemetryCollectionManagerPluginStart } from 'src/plugins/telemetry_col
import { getClusterUuids, getLocalLicense } from '../../../../src/plugins/telemetry/server';
import { getStatsWithXpack } from './telemetry_collection';

interface TelemetryCollectionXpackDepsSetup {
interface TelemetryCollectionXpackDepsStart {
telemetryCollectionManager: TelemetryCollectionManagerPluginStart;
}

Expand All @@ -18,7 +18,7 @@ export class TelemetryCollectionXpackPlugin implements Plugin {

public setup(core: CoreSetup) {}

public start(core: CoreStart, { telemetryCollectionManager }: TelemetryCollectionXpackDepsSetup) {
public start(core: CoreStart, { telemetryCollectionManager }: TelemetryCollectionXpackDepsStart) {
telemetryCollectionManager.setCollection({
esCluster: core.elasticsearch.legacy.client,
title: 'local_xpack',
Expand Down

0 comments on commit 0f0a269

Please sign in to comment.