Skip to content

Commit

Permalink
CSHARP-4677: Server selection logging tests fail on Load Balancer (#1110
Browse files Browse the repository at this point in the history
)
  • Loading branch information
BorisDog authored Jun 16, 2023
1 parent 32f1d30 commit 007b3c5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ static string GetServerDescriptionChangedFilter(BsonElement elements)

static ServerType MapServerType(string value) => value switch
{
"LoadBalancer" => ServerType.LoadBalanced,
"Unknown" => ServerType.Unknown,
_ => throw new Exception($"Unsupported event filter server type: {value}."),
};
Expand Down

0 comments on commit 007b3c5

Please sign in to comment.