Skip to content

Commit

Permalink
Fix issues produced by mistake through merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
DianaDerevyankina committed May 29, 2020
1 parent 85aa509 commit f7e7bc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x-pack/plugins/apm/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class APMPlugin implements Plugin<APMPluginSetup> {
public async setup(
core: CoreSetup,
plugins: {
apmOss: APMOSSPluginSetup;
apm_oss: APMOSSPluginSetup;
home: HomeServerPluginSetup;
licensing: LicensingPluginSetup;
cloud?: CloudSetup;
Expand All @@ -66,7 +66,7 @@ export class APMPlugin implements Plugin<APMPluginSetup> {
) {
this.logger = this.initContext.logger.get();
const config$ = this.initContext.config.create<APMXPackConfig>();
const mergedConfig$ = combineLatest(plugins.apmOss.config$, config$).pipe(
const mergedConfig$ = combineLatest(plugins.apm_oss.config$, config$).pipe(
map(([apmOssConfig, apmConfig]) => mergeConfigs(apmOssConfig, apmConfig))
);

Expand Down Expand Up @@ -97,7 +97,7 @@ export class APMPlugin implements Plugin<APMPluginSetup> {
});
}

const ossTutorialProvider = plugins.apmOss.getRegisteredTutorialProvider();
const ossTutorialProvider = plugins.apm_oss.getRegisteredTutorialProvider();
plugins.home.tutorials.unregisterTutorial(ossTutorialProvider);
plugins.home.tutorials.registerTutorial(() => {
const ossPart = ossTutorialProvider({});
Expand All @@ -107,15 +107,15 @@ export class APMPlugin implements Plugin<APMPluginSetup> {
label: i18n.translate(
'xpack.apm.tutorial.specProvider.artifacts.application.label',
{
defaultMessage: 'Launch APM'
defaultMessage: 'Launch APM',
}
)
),
};
}

return {
...ossPart,
elasticCloud: createElasticCloudInstructions(plugins.cloud)
elasticCloud: createElasticCloudInstructions(plugins.cloud),
};
});
plugins.features.registerFeature(APM_FEATURE);
Expand Down

0 comments on commit f7e7bc4

Please sign in to comment.