From 5d990dcb066e5c2692c0bc42ff069c08d2704920 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 17 Mar 2017 19:35:48 -0400 Subject: [PATCH] Revert "Rename startup command to add deprecation support to containers." This reverts commit fdd1d11038415da0e9343b0d68c9ff78951108e4. --- app/Repositories/ServerRepository.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Repositories/ServerRepository.php b/app/Repositories/ServerRepository.php index 4ed9a8a39..223659fcd 100644 --- a/app/Repositories/ServerRepository.php +++ b/app/Repositories/ServerRepository.php @@ -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]), ], ], ]);