Skip to content

Commit fdd1d11

Browse files
committed
Rename startup command to add deprecation support to containers.
1 parent 0c6e6f3 commit fdd1d11

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' => $data['startup'],
285+
'STARTUP_CMD' => $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' => $server->startup]),
687+
'env|overwrite' => $environment->pluck('value', 'variable')->merge(['STARTUP_CMD' => $server->startup]),
688688
],
689689
],
690690
]);

0 commit comments

Comments
 (0)