Skip to content

Commit

Permalink
use an ordinary es client in task_manager (#118353)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Shustov authored Nov 11, 2021
1 parent 4625d4c commit 9a31d15
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 9a31d15

Please sign in to comment.