Skip to content

Commit 7be3b22

Browse files
committed
Merge branch 'pr/122'
Change-Id: I9718e820bc6845aa5365f19f4d3aa0c90803b39c
2 parents 0e8ecc2 + bc4c38d commit 7be3b22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mongo/client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ func newClient(cs connstring.ConnString, opts ...*options.ClientOptions) (*Clien
202202
topology.WithServerOptions(func(opts ...topology.ServerOption) []topology.ServerOption {
203203
return append(opts, topology.WithClock(func(clock *session.ClusterClock) *session.ClusterClock {
204204
return client.clock
205+
}), topology.WithRegistry(func(registry *bsoncodec.Registry) *bsoncodec.Registry {
206+
return client.registry
205207
}))
206208
}),
207209
)

0 commit comments

Comments
 (0)