Fix multi-host usage of maxctrl
The credentials weren't passed to all the hosts.
This commit is contained in:
parent
5b45796da4
commit
318a81121b
@ -494,6 +494,7 @@ function pingCluster(hosts) {
|
||||
hosts.forEach(function(i) {
|
||||
args = {}
|
||||
args.uri = getUri(i, this.argv.secure, '')
|
||||
args.auth = {user: argv.u, pass: argv.p}
|
||||
args.json = true
|
||||
setTlsCerts(args)
|
||||
promises.push(request(args))
|
||||
|
Loading…
x
Reference in New Issue
Block a user