diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-05-09 15:02:55 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-05-10 10:00:49 -0400 |
commit | b826e9a7e1bf00789b605c69bbac2ee4bd49fa63 (patch) | |
tree | 2dbe4274e87632d3c8d4bf1060dc8a2266d4b292 /src/mongo/s/commands/cluster_user_management_commands.cpp | |
parent | 686bd5e0aba3716f093ee9b6f9d8c67f2faef3d9 (diff) | |
download | mongo-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/commands/cluster_user_management_commands.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_user_management_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_user_management_commands.cpp b/src/mongo/s/commands/cluster_user_management_commands.cpp index 1e448a4689e..02a87dfc9d2 100644 --- a/src/mongo/s/commands/cluster_user_management_commands.cpp +++ b/src/mongo/s/commands/cluster_user_management_commands.cpp @@ -41,12 +41,12 @@ #include "mongo/config.h" #include "mongo/db/commands.h" #include "mongo/db/jsobj.h" +#include "mongo/rpc/write_concern_error_detail.h" #include "mongo/s/catalog/catalog_manager.h" #include "mongo/s/catalog/type_shard.h" #include "mongo/s/client/shard_registry.h" #include "mongo/s/commands/sharded_command_processing.h" #include "mongo/s/grid.h" -#include "mongo/s/write_ops/wc_error_detail.h" namespace mongo { @@ -935,7 +935,7 @@ public: // If the status is a write concern error, append a writeConcernError instead of // and error message. if (ErrorCodes::isWriteConcernError(status.code())) { - WCErrorDetail wcError; + WriteConcernErrorDetail wcError; wcError.setErrMessage(status.reason()); wcError.setErrCode(status.code()); result.append("writeConcernError", wcError.toBSON()); |