Skip to content

Commit 207b689

Browse files
vitezslav-lindovskypionl
authored andcommitted
Fix --only behaviour for Update command
Closing Issue #1
1 parent c5ca883 commit 207b689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/UpdateIndicesCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function handle()
5959
// Run index mapping if the only option is not set or if the index name matches the
6060
// index
6161
if (null !== $indexOnly && $index->cleanName !== $indexOnly) {
62-
break;
62+
continue;
6363
}
6464

6565
$this->info("$index->name");

0 commit comments

Comments
 (0)