mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
73e4da64c1
commit
0b0decc8ac
2 changed files with 2 additions and 4 deletions
|
@ -120,9 +120,7 @@ describe('ml_telemetry', () => {
|
|||
}
|
||||
return {
|
||||
attributes: {
|
||||
telemetry: {
|
||||
enabled: telemetryEnabled,
|
||||
},
|
||||
enabled: telemetryEnabled,
|
||||
},
|
||||
};
|
||||
case 'ml-telemetry':
|
||||
|
|
|
@ -47,7 +47,7 @@ export async function incrementFileDataVisualizerIndexCreationCount(server: Serv
|
|||
|
||||
try {
|
||||
const { attributes } = await savedObjectsClient.get('telemetry', 'telemetry');
|
||||
if (attributes.telemetry.enabled === false) {
|
||||
if (attributes.enabled === false) {
|
||||
return;
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue