mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fix plugin id (#64166)
This commit is contained in:
parent
1a0988f964
commit
58d56884c2
2 changed files with 3 additions and 3 deletions
|
@ -4,5 +4,5 @@
|
|||
"server": true,
|
||||
"ui": true,
|
||||
"requiredPlugins": ["data", "kibanaLegacy"],
|
||||
"optionalPlugins": ["usage_collection", "telemetry"]
|
||||
"optionalPlugins": ["usageCollection", "telemetry"]
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ import { UsageCollectionSetup } from '../../usage_collection/server';
|
|||
import { sampleDataTelemetry } from './saved_objects';
|
||||
|
||||
interface HomeServerPluginSetupDependencies {
|
||||
usage_collection?: UsageCollectionSetup;
|
||||
usageCollection?: UsageCollectionSetup;
|
||||
}
|
||||
|
||||
export class HomeServerPlugin implements Plugin<HomeServerPluginSetup, HomeServerPluginStart> {
|
||||
|
@ -41,7 +41,7 @@ export class HomeServerPlugin implements Plugin<HomeServerPluginSetup, HomeServe
|
|||
core.savedObjects.registerType(sampleDataTelemetry);
|
||||
return {
|
||||
tutorials: { ...this.tutorialsRegistry.setup(core) },
|
||||
sampleData: { ...this.sampleDataRegistry.setup(core, plugins.usage_collection) },
|
||||
sampleData: { ...this.sampleDataRegistry.setup(core, plugins.usageCollection) },
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue