Skip to content

Commit

Permalink
use an ordinary es client in task_manager (elastic#118353) (elastic#1…
Browse files Browse the repository at this point in the history
…18390)

Co-authored-by: Mikhail Shustov <mikhail.shustov@elastic.co>
  • Loading branch information
kibanamachine and Mikhail Shustov authored Nov 11, 2021
1 parent 0cbbb75 commit 3c6db50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/task_manager/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class TaskManagerPlugin
const taskStore = new TaskStore({
serializer,
savedObjectsRepository,
esClient: elasticsearch.createClient('taskManager').asInternalUser,
esClient: elasticsearch.client.asInternalUser,
index: TASK_MANAGER_INDEX,
definitions: this.definitions,
taskManagerId: `kibana:${this.taskManagerId!}`,
Expand Down

0 comments on commit 3c6db50

Please sign in to comment.