mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
Merge pull request #181 from Hornwitser/patch-1
Fix wrong argument order
This commit is contained in:
1 file changed
+1
-1
@@ -128,7 +128,7 @@ class ResearchSync {
|
||||
|
||||
request_cluster_data() {
|
||||
const slaves_data_url = `${this.config.masterIP}:${this.config.masterPort}/api/slaves`
|
||||
needle.get(slaves_data_url, this.sync_researches.bind(this), {compressed:true})
|
||||
needle.get(slaves_data_url, {compressed:true}, this.sync_researches.bind(this))
|
||||
}
|
||||
|
||||
sync_researches(err, resp, slaves_data) {
|
||||
|
||||
Reference in new issue
Block a user