diff --git a/app/Actions/Server/StartSentinel.php b/app/Actions/Server/StartSentinel.php index ed93b6c60..e2af0c3ba 100644 --- a/app/Actions/Server/StartSentinel.php +++ b/app/Actions/Server/StartSentinel.php @@ -9,10 +9,12 @@ class StartSentinel { use AsAction; - public function handle(Server $server, bool $restart = false) + public function handle(Server $server, bool $restart = false, bool $is_dev = false) { // TODO: Sentinel is not available in this version (soon). - return; + if (! $is_dev) { + return; + } $version = get_latest_sentinel_version(); if ($server->isSwarm() || $server->isBuildServer()) { return;