We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef3d2c5 commit 2bddef6Copy full SHA for 2bddef6
x/mongo/driver/kill_cursors.go
@@ -32,7 +32,7 @@ func KillCursors(
32
}
33
defer conn.Close()
34
35
- if desc.WireVersion.Max < 4 {
+ if desc.WireVersion == nil || desc.WireVersion.Max < 4 {
36
return result.KillCursors{}, legacyKillCursors(ctx, ns, cursorID, conn)
37
38
0 commit comments