mirror of https://github.com/embarklabs/embark.git
fix ipfs service check
This commit is contained in:
parent
b3749bd5ac
commit
af9e27e078
|
@ -52,7 +52,7 @@ class IPFS {
|
|||
|
||||
this.addCheck('IPFS', function (cb) {
|
||||
self.logger.trace("Checking IPFS version...");
|
||||
utils.httpGetJson('http://' + this.host + ':' + this.port + '/api/v0/version', function (err, body) {
|
||||
utils.httpGetJson('http://' + self.host + ':' + self.port + '/api/v0/version', function (err, body) {
|
||||
if (err) {
|
||||
self.logger.trace("Check IPFS version error: " + err);
|
||||
return cb({name: "IPFS ", status: 'off'});
|
||||
|
|
Loading…
Reference in New Issue