Skip to content

Commit

Permalink
Updates apm_oss -> apmOss plugin id in upgrade_assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
ogupte committed May 18, 2020
1 parent c990698 commit 943c648
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/upgrade_assistant/kibana.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"server": true,
"ui": true,
"configPath": ["xpack", "upgrade_assistant"],
"requiredPlugins": ["management", "licensing", "apm_oss"],
"requiredPlugins": ["management", "licensing", "apmOss"],
"optionalPlugins": ["cloud", "usageCollection"]
}
4 changes: 2 additions & 2 deletions x-pack/plugins/upgrade_assistant/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { RouteDependencies } from './types';
interface PluginsSetup {
usageCollection: UsageCollectionSetup;
licensing: LicensingPluginSetup;
apm_oss: APMOSSPluginSetup;
apmOss: APMOSSPluginSetup;
cloud?: CloudSetup;
}

Expand Down Expand Up @@ -68,7 +68,7 @@ export class UpgradeAssistantServerPlugin implements Plugin {

setup(
{ http, getStartServices, capabilities, savedObjects }: CoreSetup,
{ usageCollection, cloud, licensing, apm_oss: apmOSS }: PluginsSetup
{ usageCollection, cloud, licensing, apmOss: apmOSS }: PluginsSetup
) {
this.licensing = licensing;
this.apmOSS = apmOSS;
Expand Down

0 comments on commit 943c648

Please sign in to comment.