mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 14:24:46 +02:00
Revert "Rename startup command to add deprecation support to containers."
This reverts commit fdd1d11038415da0e9343b0d68c9ff78951108e4.
This commit is contained in:
parent
fdd1d11038
commit
5d990dcb06
@ -282,7 +282,7 @@ class ServerRepository
|
||||
|
||||
// Add Variables
|
||||
$environmentVariables = [
|
||||
'STARTUP_CMD' => $data['startup'],
|
||||
'STARTUP' => $data['startup'],
|
||||
];
|
||||
|
||||
foreach ($variableList as $item) {
|
||||
@ -684,7 +684,7 @@ class ServerRepository
|
||||
])->request('PATCH', '/server', [
|
||||
'json' => [
|
||||
'build' => [
|
||||
'env|overwrite' => $environment->pluck('value', 'variable')->merge(['STARTUP_CMD' => $server->startup]),
|
||||
'env|overwrite' => $environment->pluck('value', 'variable')->merge(['STARTUP' => $server->startup]),
|
||||
],
|
||||
],
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user