summaryrefslogtreecommitdiff
path: root/jstests/sharding/movechunk_with_moveParanoia.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/movechunk_with_moveParanoia.js')
-rw-r--r--jstests/sharding/movechunk_with_moveParanoia.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/jstests/sharding/movechunk_with_moveParanoia.js b/jstests/sharding/movechunk_with_moveParanoia.js
index 96348d827bf..f8c2fd0fbd8 100644
--- a/jstests/sharding/movechunk_with_moveParanoia.js
+++ b/jstests/sharding/movechunk_with_moveParanoia.js
@@ -12,9 +12,11 @@ var foundMoveChunk = false;
for (i in shards) {
var dbpath = shards[i].adminCommand("getCmdLineOpts").parsed.storage.dbPath;
var hasMoveChunkDir = 0 !=
- ls(dbpath).filter(function(a) {
- return null != a.match("moveChunk");
- }).length;
+ ls(dbpath)
+ .filter(function(a) {
+ return null != a.match("moveChunk");
+ })
+ .length;
foundMoveChunk = foundMoveChunk || hasMoveChunkDir;
}