Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GODRIVER-2943 Re-organize client entity expected log messages #1366

Merged
merged 12 commits into from
Dec 7, 2023
Prev Previous commit
Next Next commit
GODRIVER-2943 Remove Ok from server
  • Loading branch information
prestonvasquez committed Oct 10, 2023
commit 171895f94fa0dd2f3c2229ddebf45121a4595aad
3 changes: 0 additions & 3 deletions mongo/description/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ type Server struct {
TopologyVersion *TopologyVersion
Kind ServerKind
WireVersion *VersionRange
Ok int32
}

// NewServer creates a new server description from the given hello command response.
Expand Down Expand Up @@ -230,8 +229,6 @@ func NewServer(addr address.Address, response bson.Raw) Server {
desc.LastError = errors.New("not ok")
return desc
}

desc.Ok = okay
case "passives":
var err error
desc.Passives, err = stringSliceFromRawElement(element)
Expand Down