PT-7116 Updated MyState results

This commit is contained in:
Carlos Salguero
2021-10-20 10:34:12 -03:00
parent 26510b94cf
commit e503826750
-4
View File
@@ -481,10 +481,6 @@ func MyState(ctx context.Context, client *mongo.Client) (int, error) {
var ms proto.MyState
err := client.Database("admin").RunCommand(ctx, bson.M{"getDiagnosticData": 1}).Decode(&ms)
fmt.Printf("err1: %v\n", err)
if _, ok := err.(topology.ServerSelectionError); ok {
return 0, err
}
if err != nil {
return 0, err
}