Don't send along egg information unecessarily

This commit is contained in:
Dane Everitt 2020-08-30 09:40:19 -07:00
parent 4ee19b6847
commit 6a442c1fd3
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -87,6 +87,7 @@ class ServerConfigurationStructureService
'suspended' => (bool) $server->suspended,
'environment' => $this->environment->handle($server),
'invocation' => $server->startup,
'skip_egg_scripts' => $server->skip_scripts,
'build' => [
'memory_limit' => $server->memory,
'swap' => $server->swap,
@ -95,11 +96,6 @@ class ServerConfigurationStructureService
'threads' => $server->threads,
'disk_space' => $server->disk,
],
'service' => [
'egg' => $server->egg->uuid,
'pack' => $server->pack ? $server->pack->uuid : null,
'skip_scripts' => $server->skip_scripts,
],
'container' => [
'image' => $server->image,
'oom_disabled' => $server->oom_disabled,