mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
fix: guard against null or empty docker compose in saveComposeConfigs method
This commit is contained in:
@@ -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