From f4c9ddb73886084c49d9d7035ce64db23b157159 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Mon, 11 May 2020 10:28:28 -0400 Subject: [PATCH] [Elastic Agent] fix a typo in the ACK message. (#18396) Small typo in the ACK message Fixes: #18145 (cherry picked from commit 5b1927eb5b47bde13b8fe744f10eba512d6c03ef) --- x-pack/elastic-agent/pkg/agent/application/fleet_acker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/elastic-agent/pkg/agent/application/fleet_acker.go b/x-pack/elastic-agent/pkg/agent/application/fleet_acker.go index 80529dec4af8..ba324f2d7de6 100644 --- a/x-pack/elastic-agent/pkg/agent/application/fleet_acker.go +++ b/x-pack/elastic-agent/pkg/agent/application/fleet_acker.go @@ -89,7 +89,7 @@ func constructEvent(action fleetapi.Action, agentID string) fleetapi.AckEvent { Timestamp: time.Now().Format(fleetTimeFormat), ActionID: action.ID(), AgentID: agentID, - Message: fmt.Sprintf("Action '%s' ot type '%s' acknowledged.", action.ID(), action.Type()), + Message: fmt.Sprintf("Action '%s' of type '%s' acknowledged.", action.ID(), action.Type()), } }