Skip to content

Commit 76638d8

Browse files
committed
Skip php-nayra transition
1 parent 1ee8c19 commit 76638d8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎ProcessMaker/Console/Commands/TransitionExecutors.php‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
use Illuminate\Console\Command;
66
use Illuminate\Database\Eloquent\Collection;
77
use Illuminate\Http\Client\RequestException;
8+
use Illuminate\Support\Facades\Log;
89
use ProcessMaker\Enums\ScriptExecutorType;
910
use ProcessMaker\Models\ScriptExecutor;
1011
use ProcessMaker\Services\ScriptMicroserviceService;
11-
use Illuminate\Support\Facades\Log;
1212

1313
class TransitionExecutors extends Command
1414
{
@@ -57,6 +57,11 @@ public function handle(): int
5757

5858
foreach ($executors as $executor) {
5959
$remaining--;
60+
if ($executor->language === 'php-nayra') {
61+
$this->info("skipping executor {$executor->uuid} ({$executor->language}) because it is a nayra executor.");
62+
continue;
63+
}
64+
6065
$this->info("Transitioning executor {$executor->uuid} ({$executor->language}) to the microservice...");
6166

6267
try {

0 commit comments

Comments
 (0)