fix: compose magic

This commit is contained in:
Andras Bacsai committed 2023-10-04 11:32:27 +02:00
1 parent e0b175ab07
commit 47e4126dca
3 files changed
+760 -3

No files matched your search

+4 -1
View File
@@ -386,7 +386,10 @@ class Service extends BaseModel
if ($key->startsWith('SERVICE_FQDN')) {
if (is_null(data_get($savedService, 'fqdn'))) {
$fqdn = generateFqdn($this->server, $containerName);
if (substr_count($key->value(), '_') === 2 && $key->contains("=")) {
if (substr_count($key->value(), '_') === 2) {
if (is_null($value)) {
$value = Str::of('/');
}
$path = $value->value();
if ($generatedServiceFQDNS->count() > 0) {
$alreadyGenerated = $generatedServiceFQDNS->has($key->value());