summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parameters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/parameters.cpp')
-rw-r--r--src/mongo/db/commands/parameters.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/commands/parameters.cpp b/src/mongo/db/commands/parameters.cpp
index ab794c8bf0e..649ad191169 100644
--- a/src/mongo/db/commands/parameters.cpp
+++ b/src/mongo/db/commands/parameters.cpp
@@ -335,15 +335,15 @@ private:
// Save LogComponent::kDefault LogSeverity at root
if (component == LogComponent::kDefault) {
- doc.root().appendInt("verbosity", severity);
+ doc.root().appendInt("verbosity", severity).transitional_ignore();
continue;
}
mutablebson::Element element = doc.makeElementObject(component.getShortName());
- element.appendInt("verbosity", severity);
+ element.appendInt("verbosity", severity).transitional_ignore();
mutablebson::Element parentElement = _getParentElement(doc, component);
- parentElement.pushBack(element);
+ parentElement.pushBack(element).transitional_ignore();
}
BSONObj result = doc.getObject();