summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/check_quorum_for_config_change.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/check_quorum_for_config_change.cpp')
-rw-r--r--src/mongo/db/repl/check_quorum_for_config_change.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/check_quorum_for_config_change.cpp b/src/mongo/db/repl/check_quorum_for_config_change.cpp
index fa52cf2d094..6f707524493 100644
--- a/src/mongo/db/repl/check_quorum_for_config_change.cpp
+++ b/src/mongo/db/repl/check_quorum_for_config_change.cpp
@@ -361,7 +361,7 @@ namespace {
_down.push_back(cbData.request.target);
return;
}
- BSONObj res = cbData.response.getValue();
+ BSONObj res = cbData.response.getValue().data;
if (res["mismatch"].trueValue()) {
std::string message = str::stream() << "Our set name did not match that of " <<
cbData.request.target.toString();