mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Rename RawInstanceInfo to HostInstanceUpdate
Due to configs needing a location to be deserialised it's not possible to cleanly replace RawInstanceInfo with the InstanceInfo class. Rename it to HostInstanceUpdate to better represent its purpose.
This commit is contained in:
1 parent
c38a63692d
commit
d8301f3c61
2 files changed
+5
-6
No files matched your search
@@ -920,7 +920,7 @@ export default class Host extends lib.Link {
|
||||
let list = [];
|
||||
for (let [instanceId, instanceInfo] of this.discoveredInstanceInfos) {
|
||||
let instanceConnection = this.instanceConnections.get(instanceId);
|
||||
list.push(new lib.RawInstanceInfo(
|
||||
list.push(new lib.HostInstanceUpdate(
|
||||
instanceInfo.config.toRemote("controller"),
|
||||
instanceConnection ? instanceConnection.instance.status : "stopped",
|
||||
instanceConnection ? instanceConnection.instance.server.gamePort : undefined,
|
||||
|
||||
Reference in new issue
Block a user