From 4da374c1c5e549535686d6d17d06b85816c92664 Mon Sep 17 00:00:00 2001 From: Anderson Queiroz Date: Thu, 20 Jan 2022 09:55:43 +0100 Subject: [PATCH] PR changes --- .../pkg/agent/application/gateway/fleet/fleet_gateway.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/elastic-agent/pkg/agent/application/gateway/fleet/fleet_gateway.go b/x-pack/elastic-agent/pkg/agent/application/gateway/fleet/fleet_gateway.go index c81e649b579..fd835ee95f4 100644 --- a/x-pack/elastic-agent/pkg/agent/application/gateway/fleet/fleet_gateway.go +++ b/x-pack/elastic-agent/pkg/agent/application/gateway/fleet/fleet_gateway.go @@ -127,7 +127,8 @@ func newFleetGatewayWithScheduler( stateStore stateStore, ) (gateway.FleetGateway, error) { - // Backoff implementation doesn't support the using of a context as the shutdown mechanism. + // Backoff implementation doesn't support the use of a context [cancellation] + // as the shutdown mechanism. // So we keep a done channel that will be closed when the current context is shutdown. done := make(chan struct{})