refactor: Update environment variable handling in StartClickhouse.php and ApplicationDeploymentJob.php

This commit is contained in:
Andras Bacsai
2024-08-29 15:11:54 +02:00
parent 0df1163718
commit 301a3596e8
3 changed files with 52 additions and 29 deletions

View File

@@ -922,7 +922,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
}
}
add_coolify_default_environment_variables($this->application, $environment, $this->application->environment_variables_preview);
add_coolify_default_environment_variables($this->application, $envs, $this->application->environment_variables_preview);
foreach ($sorted_environment_variables_preview as $env) {
$real_value = $env->real_value;