This commit is contained in:
Andras Bacsai
2023-11-10 22:04:04 +01:00
parent 95777e978e
commit fc68bf50b5
6 changed files with 12 additions and 24 deletions

View File

@@ -395,6 +395,7 @@ class Service extends BaseModel
$key = Str::of($variableName);
$value = Str::of($variable);
}
// TODO: here is the problem
if ($key->startsWith('SERVICE_FQDN')) {
if ($isNew || $savedService->fqdn === null) {
$name = $key->after('SERVICE_FQDN_')->beforeLast('_')->lower();