mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Initialize to empty state when registering telemetry tasks (#82169)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
069321a8aa
commit
057e9a72e0
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ async function scheduleTasks(logger: Logger, taskManager: TaskManagerStartContra
|
|||
await taskManager.ensureScheduled({
|
||||
id: TASK_ID,
|
||||
taskType: TELEMETRY_TASK_TYPE,
|
||||
state: { byDate: {}, suggestionsByDate: {}, saved: {}, runs: 0 },
|
||||
state: {},
|
||||
params: {},
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
|
@ -53,7 +53,7 @@ async function scheduleTasks(logger: Logger, taskManager: TaskManagerStartContra
|
|||
await taskManager.ensureScheduled({
|
||||
id: TASK_ID,
|
||||
taskType: TELEMETRY_TASK_TYPE,
|
||||
state: { byDate: {}, suggestionsByDate: {}, saved: {}, runs: 0 },
|
||||
state: {},
|
||||
params: {},
|
||||
});
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue