diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-04 12:31:33 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-05 15:00:52 -0500 |
commit | f541080e8a4283a79cf21c5d62ffac325f7dad05 (patch) | |
tree | 287b28f948ae559ae17ba19bfe722670c45f519e /jstests/sslSpecial | |
parent | 56aa683f83f8bda0a4e0f09566034f12f9a4d4d7 (diff) | |
download | mongo-f541080e8a4283a79cf21c5d62ffac325f7dad05.tar.gz |
SERVER-22341 fix jslint errors in jstests/sslSpecial with eslint --fix
Diffstat (limited to 'jstests/sslSpecial')
-rw-r--r-- | jstests/sslSpecial/mixed_mode_repl_nossl.js | 2 | ||||
-rw-r--r-- | jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/jstests/sslSpecial/mixed_mode_repl_nossl.js b/jstests/sslSpecial/mixed_mode_repl_nossl.js index de81c7bad5d..2aa7a6fd5b4 100644 --- a/jstests/sslSpecial/mixed_mode_repl_nossl.js +++ b/jstests/sslSpecial/mixed_mode_repl_nossl.js @@ -3,7 +3,7 @@ * mixed modes can still function */ -load("jstests/ssl/libs/ssl_helpers.js") +load("jstests/ssl/libs/ssl_helpers.js"); // Verify that disabled allows non-ssl connections print("=== Testing disabled cluster ==="); diff --git a/jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js b/jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js index d6c037f5809..1d18dc2225d 100644 --- a/jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js +++ b/jstests/sslSpecial/upgrade_to_x509_ssl_nossl.js @@ -17,9 +17,9 @@ function authAllNodes() { var status = rst.nodes[n].getDB("admin").auth("root", "pwd"); assert.eq(status, 1); } -}; +} -opts = {sslMode:"disabled", clusterAuthMode:"keyFile", keyFile: KEYFILE} +opts = {sslMode:"disabled", clusterAuthMode:"keyFile", keyFile: KEYFILE}; var NUM_NODES = 3; var rst = new ReplSetTest({ name: 'sslSet', nodes: NUM_NODES, nodeOptions : opts }); rst.startSet(); |