diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-05 15:13:45 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-09 14:46:30 -0500 |
commit | fb46f0112723f46d31b04c84aeb8aa6a3b08aa1f (patch) | |
tree | 85420b8810389c584c00a51510a4a6fb6222ee0f /jstests/sharding/movechunk_include.js | |
parent | e0c067b5f7a10308c5a52f2dbb662e7cfdb41e1e (diff) | |
download | mongo-fb46f0112723f46d31b04c84aeb8aa6a3b08aa1f.tar.gz |
SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix
Diffstat (limited to 'jstests/sharding/movechunk_include.js')
-rw-r--r-- | jstests/sharding/movechunk_include.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/sharding/movechunk_include.js b/jstests/sharding/movechunk_include.js index d2ea5e31e62..e8821be922b 100644 --- a/jstests/sharding/movechunk_include.js +++ b/jstests/sharding/movechunk_include.js @@ -25,11 +25,11 @@ function setupMoveChunkTest(st) { } assert.writeOK(bulk.execute()); - var stats = st.chunkCounts( "foo" ) - var to = "" + var stats = st.chunkCounts( "foo" ); + var to = ""; for ( shard in stats ){ if ( stats[shard] == 0 ) { - to = shard + to = shard; break; } } @@ -37,5 +37,5 @@ function setupMoveChunkTest(st) { find : { _id : 1 } , to : to , _waitForDelete : true} ); //some tests need this... - assert(result, "movechunk failed: " + tojson( result ) ) + assert(result, "movechunk failed: " + tojson( result ) ); } |