fix horizon command name
This commit is contained in:
parent
f14cef0651
commit
f0985a7e47
1 changed files with 5 additions and 7 deletions
|
|
@ -5,7 +5,7 @@
|
|||
use Laravel\Horizon\Contracts\JobRepository;
|
||||
use Lorisleiva\Actions\Concerns\AsAction;
|
||||
|
||||
class AnyDeploymentsRunning
|
||||
class IsHorizonQueueEmpty
|
||||
{
|
||||
use AsAction;
|
||||
|
||||
|
|
@ -25,15 +25,13 @@ public function handle()
|
|||
in_array('server:'.$hostname, $tags);
|
||||
});
|
||||
if ($running->count() > 0) {
|
||||
dump($running);
|
||||
echo 'true';
|
||||
echo 'false';
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
echo 'true';
|
||||
|
||||
echo 'false';
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue