From fb46f0112723f46d31b04c84aeb8aa6a3b08aa1f Mon Sep 17 00:00:00 2001 From: Mike Grundy Date: Fri, 5 Feb 2016 15:13:45 -0500 Subject: SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix --- jstests/sharding/movechunk_include.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'jstests/sharding/movechunk_include.js') 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 ) ); } -- cgit v1.2.1