Skip to content

Commit

Permalink
update plugin id in infra folder
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Apr 7, 2020
1 parent ba22d70 commit d576423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface InfraServerPluginDeps {
home: HomeServerPluginSetup;
spaces: SpacesPluginSetup;
usageCollection: UsageCollectionSetup;
metrics: VisTypeTimeseriesSetup;
visTypeTimeseries: VisTypeTimeseriesSetup;
features: FeaturesPluginSetup;
apm: APMPluginContract;
alerting: AlertingPluginContract;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class KibanaFramework {
timerange: { min: number; max: number },
filters: any[]
): Promise<InfraTSVBResponse> {
const { getVisData } = this.plugins.metrics;
const { getVisData } = this.plugins.visTypeTimeseries;
if (typeof getVisData !== 'function') {
throw new Error('TSVB is not available');
}
Expand Down

0 comments on commit d576423

Please sign in to comment.