1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-15 20:03:15 +02:00

Just a little typo fix in code documentation. (#2159)

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Willy Romão
2021-08-04 17:57:01 -03:00
committed by GitHub
parent 59a82eba5b
commit fcf945a4ab

View File

@@ -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 {