fix: no sentinel for swarm yet

This commit is contained in:
Andras Bacsai
2024-10-22 11:29:43 +02:00
parent c338eef57b
commit d7efe8a6d1
3 changed files with 8 additions and 3 deletions

View File

@@ -11,6 +11,9 @@ class StartSentinel
public function handle(Server $server, $version = 'next', bool $restart = false)
{
if ($server->isSwarm()) {
return;
}
if ($restart) {
StopSentinel::run($server);
}

View File

@@ -88,6 +88,7 @@ class PushServerUpdateJob implements ShouldQueue
public function handle()
{
// TODO: Swarm is not supported yet
try {
if (! $this->data) {
throw new \Exception('No data provided');