Gather more information about who adds stuff to the cluster

This commit is contained in:
Danielv123 committed 2017-09-19 19:48:50 +02:00
1 parent 339f38c1b0
commit c7744b5189
2 files changed
+22 -10

No files matched your search

+4 -2
View File
@@ -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]);
});
}
}