mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-17 04:15:02 +00:00
fix: handle duplicate error instead of sql error
fix: set fqdns to null if you delete an app or a serviceapp fix: make stucked resources a separate command
This commit is contained in:
1 parent
3ae9501814
commit
9667cd4a7a
9 files changed
+316
-297
No files matched your search
@@ -11,6 +11,9 @@ class StopApplication
|
||||
public function handle(Application $application)
|
||||
{
|
||||
$server = $application->destination->server;
|
||||
if (!$server->isFunctional()) {
|
||||
return 'Server is not functional';
|
||||
}
|
||||
if ($server->isSwarm()) {
|
||||
instant_remote_process(["docker stack rm {$application->uuid}" ], $server);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user