Fix server data not updating correctly on daemon

This commit is contained in:
Dane Everitt 2019-12-21 21:01:38 -08:00
parent 3e915e526b
commit e87db889e9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 33 additions and 42 deletions

View file

@ -75,12 +75,13 @@ class ServerConfigurationStructureService
'uuid' => $server->uuid,
'suspended' => (bool) $server->suspended,
'environment' => $this->environment->handle($server),
'invocation' => $server->startup,
'build' => [
'memory' => $server->memory,
'memory_limit' => $server->memory,
'swap' => $server->swap,
'io' => $server->io,
'cpu' => $server->cpu,
'disk' => $server->disk,
'io_weight' => $server->io,
'cpu_limit' => $server->cpu,
'disk_space' => $server->disk,
],
'service' => [
'egg' => $server->egg->uuid,