mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix: guard against null or empty docker compose in saveComposeConfigs method
This commit is contained in:
parent
468d5fe7d7
commit
e86575d6f7
1 changed files with 5 additions and 0 deletions
|
|
@ -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([
|
||||
|
|
|
|||
Loading…
Reference in a new issue