From 4111ee944d043fe16d8a6c0324b7914c4a12302d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Willy=20Rom=C3=A3o?= Date: Tue, 3 Aug 2021 17:21:55 -0300 Subject: [PATCH] Just a little typo fix in code documentation. --- trace/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trace/config.go b/trace/config.go index 0ecb4dcb891..87fb4839310 100644 --- a/trace/config.go +++ b/trace/config.go @@ -151,10 +151,10 @@ func (cfg *EventConfig) Timestamp() time.Time { return cfg.timestamp } -// NewEventConfig applies all the EventOptions to a returned SpanConfig. If no -// timestamp option is passed, the returned SpanConfig will have a Timestamp +// NewEventConfig applies all the EventOptions to a returned EventConfig. If no +// timestamp option is passed, the returned EventConfig will have a Timestamp // set to the call time, otherwise no validation is performed on the returned -// SpanConfig. +// EventConfig. func NewEventConfig(options ...EventOption) *EventConfig { c := new(EventConfig) for _, option := range options {