Skip to content

Commit d576423

Browse files
committed
update plugin id in infra folder
1 parent ba22d70 commit d576423

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugins/infra/server/lib/adapters/framework/adapter_types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface InfraServerPluginDeps {
2020
home: HomeServerPluginSetup;
2121
spaces: SpacesPluginSetup;
2222
usageCollection: UsageCollectionSetup;
23-
metrics: VisTypeTimeseriesSetup;
23+
visTypeTimeseries: VisTypeTimeseriesSetup;
2424
features: FeaturesPluginSetup;
2525
apm: APMPluginContract;
2626
alerting: AlertingPluginContract;

x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export class KibanaFramework {
245245
timerange: { min: number; max: number },
246246
filters: any[]
247247
): Promise<InfraTSVBResponse> {
248-
const { getVisData } = this.plugins.metrics;
248+
const { getVisData } = this.plugins.visTypeTimeseries;
249249
if (typeof getVisData !== 'function') {
250250
throw new Error('TSVB is not available');
251251
}

0 commit comments

Comments
 (0)