mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 10:18:20 +00:00
refactor: Remove commented out code in Service model's saveComposeConfigs method
This commit is contained in:
1 parent
eb27e34972
commit
5500a1edb3
1 file changed
+1
-1
@@ -847,7 +847,7 @@ class Service extends BaseModel
|
|||||||
} 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)) {
|
||||||
|
|||||||
Reference in new issue
Block a user