summaryrefslogtreecommitdiff
path: root/src/mongo/util/version.cpp
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-05-06 05:20:39 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-08 19:45:48 +0000
commit5e34f22c838de78290b574519abb7a7241bc1059 (patch)
tree91d384dbd4f3b078e123de319c32483c4c53bfa6 /src/mongo/util/version.cpp
parent3e45e8b645a1b58d331dae9fb6d8623282ff072b (diff)
downloadmongo-5e34f22c838de78290b574519abb7a7241bc1059.tar.gz
SERVER-47208 make tojson(BSONObj) match JavaScript JSON.stringify.
Diffstat (limited to 'src/mongo/util/version.cpp')
-rw-r--r--src/mongo/util/version.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/version.cpp b/src/mongo/util/version.cpp
index 6e17122c1b6..eb745616e30 100644
--- a/src/mongo/util/version.cpp
+++ b/src/mongo/util/version.cpp
@@ -209,7 +209,7 @@ void VersionInfoInterface::logBuildInfo(std::ostream* os) const {
BSONObj obj = bob.done();
if (os) {
// If printing to ostream, print a json object with a single "buildInfo" element.
- *os << "Build Info:" << tojson(obj, ExtendedRelaxedV2_0_0, true) << std::endl;
+ *os << "Build Info: " << tojson(obj, ExtendedRelaxedV2_0_0, true) << std::endl;
} else {
LOGV2(23403, "Build Info", "buildInfo"_attr = obj);
}