summaryrefslogtreecommitdiff
path: root/src/mongo/db/ftdc/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ftdc/util.cpp')
-rw-r--r--src/mongo/db/ftdc/util.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/db/ftdc/util.cpp b/src/mongo/db/ftdc/util.cpp
index ea87e6b58e5..d56eb8ca380 100644
--- a/src/mongo/db/ftdc/util.cpp
+++ b/src/mongo/db/ftdc/util.cpp
@@ -152,7 +152,8 @@ StatusWith<bool> extractMetricsFromDocument(const BSONObj& referenceDoc,
!(referenceElement.isNumber() == true &&
currentElement.isNumber() == referenceElement.isNumber())) {
LOG(4) << "full-time diagnostic data capture schema change: field type change for "
- "field '" << referenceElement.fieldNameStringData() << "' from '"
+ "field '"
+ << referenceElement.fieldNameStringData() << "' from '"
<< static_cast<int>(referenceElement.type()) << "' to '"
<< static_cast<int>(currentElement.type()) << "'";
matches = false;
@@ -371,7 +372,9 @@ StatusWith<FTDCType> getBSONDocumentType(const BSONObj& obj) {
static_cast<FTDCType>(value) != FTDCType::kMetadata) {
return {ErrorCodes::BadValue,
str::stream() << "Field '" << std::string(kFTDCTypeField)
- << "' is not an expected value, found '" << value << "'"};
+ << "' is not an expected value, found '"
+ << value
+ << "'"};
}
return {static_cast<FTDCType>(value)};