Skip to content

Commit bd59d4a

Browse files
committed
fixup: update comment
Signed-off-by: Florian Lehner <[email protected]>
1 parent 7330f87 commit bd59d4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apmproxy/apmserver.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ func (c *Client) ForwardApmData(ctx context.Context) error {
6969
return err
7070
}
7171
once.Do(func() {
72-
// Wait for metadata to be available, metadata will be available as soon as
73-
// the first agent data is processed.
72+
// With the first successful request to c.forwardAgent Data() metadata should be
73+
// available and processing data from c.LambdaDataChannel can start.
7474
lambdaDataChan = c.LambdaDataChannel
7575
})
7676
case data := <-lambdaDataChan:

0 commit comments

Comments
 (0)