fix cloud env in apm tutorial (#57817)

This commit is contained in:
Joe Reuter 2020-02-18 10:09:49 +01:00 committed by GitHub
parent 169626b272
commit 2a4f7e817b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ function isEnabled(config) {
export function apmSpecProvider(server) {
const config = server.config();
const apmIndexPatternTitle = config.get('apm_oss.indexPattern');
const { cloud } = server.newPlatform.setup;
const { cloud } = server.newPlatform.setup.plugins;
const savedObjects = [
{