summaryrefslogtreecommitdiff
path: root/src/mongo/rpc/get_status_from_command_result.cpp
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:20:35 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-27 11:02:23 -0400
commit134a4083953270e8a11430395357fb70a29047ad (patch)
treedd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /src/mongo/rpc/get_status_from_command_result.cpp
parent1e46b5049003f427047e723ea5fab15b5a9253ca (diff)
downloadmongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'src/mongo/rpc/get_status_from_command_result.cpp')
-rw-r--r--src/mongo/rpc/get_status_from_command_result.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/rpc/get_status_from_command_result.cpp b/src/mongo/rpc/get_status_from_command_result.cpp
index b63ae786832..2607ff15e3c 100644
--- a/src/mongo/rpc/get_status_from_command_result.cpp
+++ b/src/mongo/rpc/get_status_from_command_result.cpp
@@ -98,14 +98,14 @@ Status getWriteConcernStatusFromCommandResult(const BSONObj& obj) {
std::string wcErrorParseMsg;
if (!wcError.parseBSON(wcErrObj, &wcErrorParseMsg)) {
return Status(ErrorCodes::UnsupportedFormat,
- str::stream() << "Failed to parse write concern section due to "
- << wcErrorParseMsg);
+ str::stream()
+ << "Failed to parse write concern section due to " << wcErrorParseMsg);
}
std::string wcErrorInvalidMsg;
if (!wcError.isValid(&wcErrorInvalidMsg)) {
return Status(ErrorCodes::UnsupportedFormat,
- str::stream() << "Failed to parse write concern section due to "
- << wcErrorInvalidMsg);
+ str::stream()
+ << "Failed to parse write concern section due to " << wcErrorInvalidMsg);
}
return wcError.toStatus();
}