ui fixes
This commit is contained in:
@@ -61,7 +61,6 @@ function remote_process(
|
||||
// }
|
||||
function savePrivateKeyToFs(Server $server)
|
||||
{
|
||||
ray(data_get($server, 'privateKey.private_key'));
|
||||
if (data_get($server, 'privateKey.private_key') === null) {
|
||||
throw new \Exception("Server {$server->name} does not have a private key");
|
||||
}
|
||||
|
@@ -967,6 +967,10 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$foundEnv = EnvironmentVariable::where([
|
||||
'key' => $key,
|
||||
'service_id' => $resource->id,
|
||||
])->first();
|
||||
if ($value->contains(':-')) {
|
||||
$key = $value->before(':');
|
||||
$defaultValue = $value->after(':-');
|
||||
|
Reference in New Issue
Block a user