Skip to content

Commit

Permalink
Make receiver names consistent.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Sep 6, 2024
1 parent d6d14fb commit fd865cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ func (s *ServerOptions) startTime() time.Time {
return s.StartTime
}

func (o *ServerOptions) newContext() func() context.Context {
if o == nil || o.NewContext == nil {
func (s *ServerOptions) newContext() func() context.Context {
if s == nil || s.NewContext == nil {
return context.Background
}
return o.NewContext
return s.NewContext
}

func (s *ServerOptions) rpcLog() RPCLogger {
Expand Down

0 comments on commit fd865cc

Please sign in to comment.