Skip to content

Commit

Permalink
GODRIVER-2943 Remove Ok from server
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvasquez committed Oct 10, 2023
1 parent 6335644 commit 171895f
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 171895f

Please sign in to comment.