diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2018-11-29 19:06:00 +0000 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2018-12-06 09:20:37 +0000 |
commit | 55ade18c488a08d160a3341799b9ea276f262d08 (patch) | |
tree | 43b3cf5009c3aa1d122efa14136a88732131b4e4 /src/mongo/shell/shell_utils.cpp | |
parent | dfa007f46708ade8f66ae64bbcb9fd5744f96602 (diff) | |
download | mongo-55ade18c488a08d160a3341799b9ea276f262d08.tar.gz |
SERVER-38374 Add redact attribute to IDL based configs/params
Diffstat (limited to 'src/mongo/shell/shell_utils.cpp')
-rw-r--r-- | src/mongo/shell/shell_utils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/shell/shell_utils.cpp b/src/mongo/shell/shell_utils.cpp index 1d644ba474e..e44832d9e35 100644 --- a/src/mongo/shell/shell_utils.cpp +++ b/src/mongo/shell/shell_utils.cpp @@ -455,9 +455,8 @@ void ConnectionRegistry::killOperationsOnAllConnections(bool withPrompt) const { ConnectionRegistry connectionRegistry; -bool _nokillop = false; void onConnect(DBClientBase& c) { - if (_nokillop) { + if (shellGlobalParams.nokillop) { return; } |