refactor: Remove commented out code in Service model's saveComposeConfigs method
This commit is contained in:
parent
eb27e34972
commit
5500a1edb3
@ -847,7 +847,7 @@ public function saveComposeConfigs()
|
|||||||
} else {
|
} else {
|
||||||
$envs = collect($config['environment']);
|
$envs = collect($config['environment']);
|
||||||
}
|
}
|
||||||
$envs->put('COOLIFY_CONTAINER_NAME', "$service-{$this->uuid}");
|
// $envs->put('COOLIFY_CONTAINER_NAME', "$service-{$this->uuid}");
|
||||||
foreach ($envs_from_coolify as $env) {
|
foreach ($envs_from_coolify as $env) {
|
||||||
$envs = $envs->map(function ($value) use ($env) {
|
$envs = $envs->map(function ($value) use ($env) {
|
||||||
if (str($value)->startsWith($env->key)) {
|
if (str($value)->startsWith($env->key)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user