summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamran Khan <kamran.khan@mongodb.com>2014-03-28 11:53:10 -0400
committerMatt Kangas <matt.kangas@mongodb.com>2014-03-28 13:22:34 -0400
commit3ca3effff3fa15cf996a2f3929b3227f8f34e25a (patch)
tree0e2d67edb2dcdd765c2a5c4b4638f7d864100bf8
parentf2e8a05f846678c32575883f765151b36225a6a6 (diff)
downloadmongo-3ca3effff3fa15cf996a2f3929b3227f8f34e25a.tar.gz
SERVER-13394 Fix typo in jValue validation error message in WriteConcern constructor
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com> (cherry picked from commit e4c7d8dec2ddd172ad788483846dcf8e670581a5)
-rw-r--r--src/mongo/shell/bulk_api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/bulk_api.js b/src/mongo/shell/bulk_api.js
index c99f43e7868..5ee32608613 100644
--- a/src/mongo/shell/bulk_api.js
+++ b/src/mongo/shell/bulk_api.js
@@ -73,7 +73,7 @@ var _bulk_api_module = (function() {
}
if (typeof opts.j != 'undefined' && typeof opts.j != 'boolean')
- throw Error("j value must either true or false if defined, not " + opts.j);
+ throw Error("j value must be true or false if defined, not " + opts.j);
this._wc = opts;