Use HTTPS also for pings

If HTTPS requests are used, the pings should also be done with HTTPS.
This commit is contained in:
Markus Mäkelä 2018-02-13 12:55:34 +02:00
parent 2e920af845
commit 8e4c6a9eee
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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)