From fdd1d11038415da0e9343b0d68c9ff78951108e4 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 17 Mar 2017 19:09:54 -0400 Subject: [PATCH] Rename startup command to add deprecation support to containers. --- 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 223659fcd..4ed9a8a39 100644 --- a/app/Repositories/ServerRepository.php +++ b/app/Repositories/ServerRepository.php @@ -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]), ], ], ]);