fix: sentinel config changes restarts sentinel

This commit is contained in:
Andras Bacsai committed 2024-10-22 14:10:36 +02:00
1 parent ac768e5313
commit 1f221d9791
5 files changed
+30 -9

No files matched your search

+2 -1
View File
@@ -9,8 +9,9 @@ class StartSentinel
{
use AsAction;
public function handle(Server $server, $version = 'next', bool $restart = false)
public function handle(Server $server, bool $restart = false)
{
$version = get_latest_sentinel_version();
if ($server->isSwarm() || $server->isBuildServer()) {
return;
}