diff options
author | Nathan Myers <nathan.myers@10gen.com> | 2017-07-20 16:22:03 -0400 |
---|---|---|
committer | Nathan Myers <nathan.myers@10gen.com> | 2017-07-20 16:22:03 -0400 |
commit | 237a6f7277fcba2b6d5cf1a72254a1aa1bf63d64 (patch) | |
tree | 35e3f654cefbdff68e8c23e77c62d57d1b135324 /jstests/sharding | |
parent | 06111068d52e602856eef08a25a1f11e2121295f (diff) | |
download | mongo-237a6f7277fcba2b6d5cf1a72254a1aa1bf63d64.tar.gz |
fix lint more
Diffstat (limited to 'jstests/sharding')
-rw-r--r-- | jstests/sharding/safe_secondary_reads.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/sharding/safe_secondary_reads.js b/jstests/sharding/safe_secondary_reads.js index df2c7a2741c..7dcb27753b3 100644 --- a/jstests/sharding/safe_secondary_reads.js +++ b/jstests/sharding/safe_secondary_reads.js @@ -28,8 +28,7 @@ let nss = db + "." + coll; // Given a command, build its expected shape in the system profiler. - let buildCommandProfile = - function(command) { + let buildCommandProfile = function(command) { let commandProfile = {ns: nss}; for (let key in command) { commandProfile["command." + key] = command[key]; @@ -38,8 +37,7 @@ }; // Check that a test case is well-formed. - let validateTestCase = - function(test) { + let validateTestCase = function(test) { assert(test.setUp && typeof(test.setUp) === "function"); assert(test.command && typeof(test.command) === "object"); assert(test.checkResults && typeof(test.checkResults) === "function"); |