mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Partially revert change introduced in aff8c69deb
This commit is contained in:
parent
13cf3d53c4
commit
ddd5b5fa54
1 changed files with 3 additions and 4 deletions
|
@ -14,10 +14,9 @@ export const cloud = kibana => {
|
|||
|
||||
uiExports: {
|
||||
injectDefaultVars(server, options) {
|
||||
options.id = 'test-cloud-id';
|
||||
return {
|
||||
isCloudEnabled: !!options.id,
|
||||
cloudId: options.id,
|
||||
cloudId: options.id
|
||||
};
|
||||
},
|
||||
},
|
||||
|
@ -39,9 +38,9 @@ export const cloud = kibana => {
|
|||
init(server) {
|
||||
const config = server.config().get(`xpack.cloud`);
|
||||
server.expose('config', {
|
||||
isCloudEnabled: !!config.id,
|
||||
isCloudEnabled: !!config.id
|
||||
});
|
||||
server.usage.collectorSet.register(getCloudUsageCollector(server));
|
||||
},
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue