Skip to content

Commit 8ad2eb9

Browse files
committed
WIP
1 parent 2fe2fe8 commit 8ad2eb9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

x/mongo/driver/operation.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,6 @@ func (op Operation) addClusterTime(dst []byte, desc description.SelectedServer)
17111711
return dst
17121712
}
17131713
return append(bsoncore.AppendHeader(dst, bsoncore.Type(val.Type), "$clusterTime"), val.Value...)
1714-
// return bsoncore.AppendDocumentElement(dst, "$clusterTime", clusterTime)
17151714
}
17161715

17171716
// calculateMaxTimeMS calculates the value of the 'maxTimeMS' field to potentially append

x/mongo/driver/operation/hello.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ func isLegacyHandshake(srvAPI *driver.ServerAPIOptions, loadbalanced bool) bool
627627

628628
func (h *Hello) createOperation() driver.Operation {
629629
op := driver.Operation{
630-
Clock: h.clock,
630+
// Clock: h.clock,
631631
CommandFn: h.command,
632632
Database: "admin",
633633
Deployment: h.d,

0 commit comments

Comments
 (0)