summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batch_write_op_test.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-05-09 15:02:55 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-05-10 10:00:49 -0400
commitb826e9a7e1bf00789b605c69bbac2ee4bd49fa63 (patch)
tree2dbe4274e87632d3c8d4bf1060dc8a2266d4b292 /src/mongo/s/write_ops/batch_write_op_test.cpp
parent686bd5e0aba3716f093ee9b6f9d8c67f2faef3d9 (diff)
downloadmongo-b826e9a7e1bf00789b605c69bbac2ee4bd49fa63.tar.gz
SERVER-24111 Move WriteConcernErrorDetail under mongo/rpc
This change moves WCErrorDetail under mongo/rpc and renames it to be more descriptive and named WriteConcernErrorDetail.
Diffstat (limited to 'src/mongo/s/write_ops/batch_write_op_test.cpp')
-rw-r--r--src/mongo/s/write_ops/batch_write_op_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/write_ops/batch_write_op_test.cpp b/src/mongo/s/write_ops/batch_write_op_test.cpp
index 495b2ec22a0..62dbde7093b 100644
--- a/src/mongo/s/write_ops/batch_write_op_test.cpp
+++ b/src/mongo/s/write_ops/batch_write_op_test.cpp
@@ -123,7 +123,7 @@ void addError(int code, const string& message, int index, BatchedCommandResponse
}
void addWCError(BatchedCommandResponse* response) {
- unique_ptr<WCErrorDetail> error(new WCErrorDetail);
+ unique_ptr<WriteConcernErrorDetail> error(new WriteConcernErrorDetail);
error->setErrCode(ErrorCodes::WriteConcernFailed);
error->setErrMessage("mock wc error");