diff options
author | Paolo Polato <paolo.polato@mongodb.com> | 2021-06-10 13:35:26 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-11 09:18:55 +0000 |
commit | dd6a29fcd092384c46676dace03e02674c2da911 (patch) | |
tree | 914d3222da9f16469f8d1a31a57f77015b276105 | |
parent | d8997a230028dee39a15ac079c85898d9b7c1b1a (diff) | |
download | mongo-dd6a29fcd092384c46676dace03e02674c2da911.tar.gz |
SERVER-56276 correct typo in config.actionlog document field
-rw-r--r-- | src/mongo/db/s/balancer/balancer.cpp | 2 | ||||
-rw-r--r-- | src/mongo/shell/utils_sh.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/s/balancer/balancer.cpp b/src/mongo/db/s/balancer/balancer.cpp index 13c676ec04a..72f101d5533 100644 --- a/src/mongo/db/s/balancer/balancer.cpp +++ b/src/mongo/db/s/balancer/balancer.cpp @@ -106,7 +106,7 @@ public: BSONObj toBSON() const { BSONObjBuilder builder; builder.append("executionTimeMillis", _executionTimer.millis()); - builder.append("errorOccured", _errMsg.is_initialized()); + builder.append("errorOccurred", _errMsg.is_initialized()); if (_errMsg) { builder.append("errmsg", *_errMsg); diff --git a/src/mongo/shell/utils_sh.js b/src/mongo/shell/utils_sh.js index 3408782eeec..ff8f20a1043 100644 --- a/src/mongo/shell/utils_sh.js +++ b/src/mongo/shell/utils_sh.js @@ -465,7 +465,7 @@ sh.getRecentFailedRounds = function(configDB) { var result = {count: 0, lastErr: "", lastTime: " "}; if (balErrs != null) { balErrs.forEach(function(r) { - if (r.details.errorOccured) { + if (r.details.errorOccurred) { result.count += 1; if (result.count == 1) { result.lastErr = r.details.errmsg; |