Use HTTPS also for pings
If HTTPS requests are used, the pings should also be done with HTTPS.
This commit is contained in:
parent
2e920af845
commit
8e4c6a9eee
@ -275,7 +275,7 @@ function pingCluster(hosts) {
|
||||
var promises = []
|
||||
|
||||
hosts.forEach(function(i) {
|
||||
promises.push(request(getUri(i, false, '')))
|
||||
promises.push(request(getUri(i, this.argv.secure, '')))
|
||||
})
|
||||
|
||||
return Promise.all(promises)
|
||||
|
Loading…
x
Reference in New Issue
Block a user