From a8a581213814d1682967dcf17f3005fb2b2774fd Mon Sep 17 00:00:00 2001 From: Olivier G Date: Thu, 30 Nov 2023 10:25:46 +0100 Subject: [PATCH] Improve comments --- comp/forwarder/orchestrator/component.go | 1 + 1 file changed, 1 insertion(+) diff --git a/comp/forwarder/orchestrator/component.go b/comp/forwarder/orchestrator/component.go index 2db3ee78c44f0..559625147d4d1 100644 --- a/comp/forwarder/orchestrator/component.go +++ b/comp/forwarder/orchestrator/component.go @@ -11,6 +11,7 @@ import "github.com/DataDog/datadog-agent/comp/forwarder/defaultforwarder" // team: agent-metrics-logs // Component is the component type. +// The main method of this component is `Get` which returns the forwarder instance only if it enabled. type Component interface { // Get the forwarder instance if it exists. Get() (defaultforwarder.Forwarder, bool)