summaryrefslogtreecommitdiff
path: root/jstests/auth/upgrade_noauth_to_keyfile.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/auth/upgrade_noauth_to_keyfile.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/auth/upgrade_noauth_to_keyfile.js')
-rw-r--r--jstests/auth/upgrade_noauth_to_keyfile.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/jstests/auth/upgrade_noauth_to_keyfile.js b/jstests/auth/upgrade_noauth_to_keyfile.js
index 372ae61af2b..da517fef031 100644
--- a/jstests/auth/upgrade_noauth_to_keyfile.js
+++ b/jstests/auth/upgrade_noauth_to_keyfile.js
@@ -12,17 +12,11 @@ load('jstests/multiVersion/libs/multi_rs.js');
var keyFilePath = 'jstests/libs/key1';
// Disable auth explicitly
- var noAuthOptions = {
- noauth: ''
- };
+ var noAuthOptions = {noauth: ''};
// Undefine the flags we're replacing, otherwise upgradeSet will keep old values.
- var transitionToAuthOptions = {
- noauth: undefined,
- clusterAuthMode: 'keyFile',
- keyFile: keyFilePath,
- transitionToAuth: ''
- };
+ var transitionToAuthOptions =
+ {noauth: undefined, clusterAuthMode: 'keyFile', keyFile: keyFilePath, transitionToAuth: ''};
var keyFileOptions = {
clusterAuthMode: 'keyFile',
keyFile: keyFilePath,