Skip to content

Commit

Permalink
Just a little typo fix in code documentation. (#2159)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
willyrgf and MrAlias committed Aug 4, 2021
1 parent 59a82eb commit fcf945a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trace/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fcf945a

Please sign in to comment.