Skip to content

Commit

Permalink
Update context/context.go
Browse files Browse the repository at this point in the history
Co-authored-by: zyy17 <[email protected]>
  • Loading branch information
daviderli614 and zyy17 authored Sep 27, 2024
1 parent dc73555 commit dcd4802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type Option func(ctx context.Context) context.Context
func New(parent context.Context, opts ...Option) context.Context {
ctx := parent
for _, opt := range opts {
ctx = opt(parent)
ctx = opt(ctx)
}
return ctx
}
Expand Down

0 comments on commit dcd4802

Please sign in to comment.