Skip to content

Commit

Permalink
GODRIVER-2256 Replace production context.TODO() with context.Backgrou… (
Browse files Browse the repository at this point in the history
  • Loading branch information
ramitmittal authored Oct 12, 2023
1 parent b4f5ef1 commit fcacd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/mongo/driver/topology/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func New(cfg *Config) (*Topology, error) {
}
t.desc.Store(description.Topology{})
t.updateCallback = func(desc description.Server) description.Server {
return t.apply(context.TODO(), desc)
return t.apply(context.Background(), desc)
}

if t.cfg.URI != "" {
Expand Down

0 comments on commit fcacd77

Please sign in to comment.