refactor: Improve environment variable handling in shared.php
This commit is contained in:
@@ -3074,7 +3074,6 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
|
|||||||
$fqdnFor = null;
|
$fqdnFor = null;
|
||||||
}
|
}
|
||||||
// Lets save the magic value to the environment variables
|
// Lets save the magic value to the environment variables
|
||||||
if (! $originalValue->startsWith('/')) {
|
|
||||||
if ($key->startsWith('SERVICE_')) {
|
if ($key->startsWith('SERVICE_')) {
|
||||||
$originalValue = $key;
|
$originalValue = $key;
|
||||||
}
|
}
|
||||||
@@ -3090,7 +3089,6 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Parse the rest of the services
|
// Parse the rest of the services
|
||||||
foreach ($services as $serviceName => $service) {
|
foreach ($services as $serviceName => $service) {
|
||||||
|
|||||||
Reference in New Issue
Block a user