mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 15:33:12 +09:00
Gather more information about who adds stuff to the cluster
This commit is contained in:
1 parent
339f38c1b0
commit
c7744b5189
2 files changed
+22
-10
No files matched your search
@@ -544,9 +544,11 @@ function instanceManagement() {
|
||||
// send our entity and count to the master for him to keep track of
|
||||
needle.post(config.masterIP + ":" + config.masterPort + '/api/place', {
|
||||
name: g[0],
|
||||
count: g[1]
|
||||
count: g[1],
|
||||
instanceName: instance, // name of instance
|
||||
unique: instanceconfig.unique, // a hash computed from the randomly generated rcon password
|
||||
}, function (err, resp, body) {
|
||||
// console.log(body);
|
||||
if(body == "failure") console.error("#### Export failed! Lost: "+g[1]+" "+g[0]);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user