Skip to content

Commit 5d990dc

Browse files
committed
Revert "Rename startup command to add deprecation support to containers."
This reverts commit fdd1d11.
1 parent fdd1d11 commit 5d990dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Repositories/ServerRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public function create(array $data)
282282

283283
// Add Variables
284284
$environmentVariables = [
285-
'STARTUP_CMD' => $data['startup'],
285+
'STARTUP' => $data['startup'],
286286
];
287287

288288
foreach ($variableList as $item) {
@@ -684,7 +684,7 @@ public function updateStartup($id, array $data, $admin = false)
684684
])->request('PATCH', '/server', [
685685
'json' => [
686686
'build' => [
687-
'env|overwrite' => $environment->pluck('value', 'variable')->merge(['STARTUP_CMD' => $server->startup]),
687+
'env|overwrite' => $environment->pluck('value', 'variable')->merge(['STARTUP' => $server->startup]),
688688
],
689689
],
690690
]);

0 commit comments

Comments
 (0)