fix: Check proxy functionality before removing unnecessary coolify.yaml file and checking Docker Engine

This commit is contained in:
Andras Bacsai
2024-05-22 12:20:36 +02:00
parent 10f3d8aa0f
commit ace7c17f2b
2 changed files with 43 additions and 2 deletions

View File

@@ -10,6 +10,9 @@ class CheckProxy
use AsAction;
public function handle(Server $server, $fromUI = false)
{
if (!$server->isFunctional()) {
return false;
}
if ($server->proxyType() === 'NONE') {
return false;
}