From ced1f3e143476b89fe5e8433e5bba41fa3567f76 Mon Sep 17 00:00:00 2001 From: Julia Bardi Date: Tue, 7 Jan 2025 14:41:20 +0100 Subject: [PATCH] fix comment --- .../shared/fleet/server/services/agents/action_runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts index 5d20cb0882074..04011f97d4cd8 100644 --- a/x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts +++ b/x-pack/platform/plugins/shared/fleet/server/services/agents/action_runner.ts @@ -85,7 +85,7 @@ export abstract class ActionRunner { // create task to check result with some delay, this runs in case of kibana crash too this.checkTaskId = await this.createCheckResultTask(); - // intentionally skipping await, we want the API to return quickly with taskId, and let the scheduled task run async + // intentionally skipping await, we want the API to return quickly with actionId, and let the scheduled task run async withSpan({ name: this.getActionType(), type: 'action' }, () => this.processAgentsInBatches() .then(async () => {