Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

SERVER-12786: missing () on call

  • Loading branch information...
commit 2f2bdc60421fc7459c32c11ca88a3f71bebf3fd3 1 parent c5ce70c
@scotthernandez scotthernandez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/mongo/shell/utils.js
View
2  src/mongo/shell/utils.js
@@ -605,7 +605,7 @@ shellPrintHelper = function (x) {
// TODO: This implicit calling of GLE can cause subtle, hard to track issues - remove?
if (__callLastError && typeof( db ) != "undefined" &&
db.getMongo &&
- db.getMongo().writeMode == "legacy") {
+ db.getMongo().writeMode() == "legacy") {
__callLastError = false;
// explicit w:1 so that replset getLastErrorDefaults aren't used here which would be bad
Please sign in to comment.
Something went wrong with that request. Please try again.