feat(api): Add latest query param to Service restart API (#5881)

This commit is contained in:
Dusan authored and GitHub committed 2025-05-27 15:03:17 +02:00
1 parent e005f1c838
commit 94df6ca51f
3 files changed
+14 -3

No files matched your search

+2 -2
View File
@@ -11,10 +11,10 @@ class RestartService
public string $jobQueue = 'high';
public function handle(Service $service)
public function handle(Service $service, bool $pullLatestImages)
{
StopService::run($service);
return StartService::run($service);
return StartService::run($service, $pullLatestImages);
}
}