Correctly handle updating server data

This commit is contained in:
Dane Everitt
2019-12-21 21:02:02 -08:00
parent d583c1d53e
commit 189289ad5f
6 changed files with 16 additions and 14 deletions

View File

@@ -30,7 +30,7 @@ func New(data []byte) (*Installer, error) {
Uuid: getString(data, "uuid"),
Suspended: false,
State: server.ProcessOfflineState,
Invocation: "",
Invocation: getString(data, "invocation"),
EnvVars: make(map[string]string),
Build: server.BuildSettings{
MemoryLimit: getInt(data, "build", "memory"),