summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/action_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/auth/action_set.cpp')
-rw-r--r--src/mongo/db/auth/action_set.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/auth/action_set.cpp b/src/mongo/db/auth/action_set.cpp
index 7d3dc9f1712..924ec1e1439 100644
--- a/src/mongo/db/auth/action_set.cpp
+++ b/src/mongo/db/auth/action_set.cpp
@@ -37,8 +37,8 @@
#include "mongo/base/status.h"
#include "mongo/bson/util/builder.h"
#include "mongo/util/log.h"
-#include "mongo/util/stringutils.h"
#include "mongo/util/mongoutils/str.h"
+#include "mongo/util/stringutils.h"
namespace mongo {
@@ -97,9 +97,9 @@ Status ActionSet::parseActionSetFromString(const std::string& actionsString, Act
}
std::string unrecognizedActionsString;
joinStringDelim(unrecognizedActions, &unrecognizedActionsString, ',');
- return Status(
- ErrorCodes::FailedToParse,
- str::stream() << "Unrecognized action privilege strings: " << unrecognizedActionsString);
+ return Status(ErrorCodes::FailedToParse,
+ str::stream() << "Unrecognized action privilege strings: "
+ << unrecognizedActionsString);
}
Status ActionSet::parseActionSetFromStringVector(const std::vector<std::string>& actionsVector,