logtail: fix typo in comment

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
pull/946/head
Josh Bleecher Snyder 4 years ago
parent d9e2edb5ae
commit 883a11f2a8

@ -69,7 +69,7 @@ type Config struct {
Buffer Buffer // temp storage, if nil a MemoryBuffer Buffer Buffer // temp storage, if nil a MemoryBuffer
NewZstdEncoder func() Encoder // if set, used to compress logs for transmission NewZstdEncoder func() Encoder // if set, used to compress logs for transmission
// DrainLogs, if non-nil, disables autmatic uploading of new logs, // DrainLogs, if non-nil, disables automatic uploading of new logs,
// so that logs are only uploaded when a token is sent to DrainLogs. // so that logs are only uploaded when a token is sent to DrainLogs.
DrainLogs <-chan struct{} DrainLogs <-chan struct{}
} }

Loading…
Cancel
Save