mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
fix: guard against null or empty docker compose in saveComposeConfigs method
This commit is contained in:
1 parent
468d5fe7d7
commit
e86575d6f7
1 file changed
+5
@@ -1287,6 +1287,11 @@ class Service extends BaseModel
|
||||
|
||||
public function saveComposeConfigs()
|
||||
{
|
||||
// Guard against null or empty docker_compose
|
||||
if (! $this->docker_compose) {
|
||||
return;
|
||||
}
|
||||
|
||||
$workdir = $this->workdir();
|
||||
|
||||
instant_remote_process([
|
||||
|
||||
Reference in new issue
Block a user