Update service and shared helper files
This commit is contained in:
@@ -974,13 +974,12 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
|
||||
'is_preview' => false,
|
||||
]);
|
||||
}
|
||||
// if (!$isDatabase) {
|
||||
// ray($savedService,$fqdn);
|
||||
// if ($command->value() === 'FQDN' && is_null($savedService->fqdn)) {
|
||||
// $savedService->fqdn = $fqdn;
|
||||
// $savedService->save();
|
||||
// }
|
||||
// }
|
||||
if (!$isDatabase) {
|
||||
if ($command->value() === 'FQDN' && is_null($savedService->fqdn) && !$foundEnv) {
|
||||
$savedService->fqdn = $fqdn;
|
||||
$savedService->save();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$generatedValue = generateEnvValue($command);
|
||||
if (!$foundEnv) {
|
||||
|
||||
Reference in New Issue
Block a user