Rename startup command to add deprecation support to containers.

This commit is contained in:
Dane Everitt 2017-03-17 19:09:54 -04:00
parent 0c6e6f39fe
commit fdd1d11038
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -282,7 +282,7 @@ class ServerRepository
// Add Variables
$environmentVariables = [
'STARTUP' => $data['startup'],
'STARTUP_CMD' => $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' => $server->startup]),
'env|overwrite' => $environment->pluck('value', 'variable')->merge(['STARTUP_CMD' => $server->startup]),
],
],
]);