From 52e6b800c58da65dd46cd3b2ae78f62c78336545 Mon Sep 17 00:00:00 2001 From: Ian Adams Date: Mon, 27 Jan 2025 09:50:15 -0500 Subject: [PATCH] Add clarifying documentation line for edge case --- client/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index b10e31a6..5e326cdd 100644 --- a/client/client.go +++ b/client/client.go @@ -137,7 +137,8 @@ type OpAMPClient interface { // SetAvailableComponents modifies the set of components that are available for configuration // on the agent. - // If called before Start(), initializes the client state that will be sent to the server upon Start(). + // If called before Start(), initializes the client state that will be sent to the server upon + // Start() if the if the ReportsAvailableComponents capability is set. // Must be called before Start() if the ReportsAvailableComponents capability is set. // // May be called any time after Start(), including from the OnMessage handler.