Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Update status.js
Browse files Browse the repository at this point in the history
  • Loading branch information
martintajur committed Jun 12, 2015
1 parent dee0f7f commit a183d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Status.prototype.getConsulHealthcheck = function(options) {

var consulParams = {};
consulParams.interval = options && options.interval || '10s';
consulParams.notes = options && options.notes || 'Check service Kardia status using curl';
consulParams.notes = options && options.notes || this.config.name + ' Kardia health check';
consulParams.http = 'http://'+host+':'+this.config.port+'/health';

return consulParams;
Expand Down Expand Up @@ -403,4 +403,4 @@ Status.prototype.removeListener = function(eventName, handler) {
return true;
};

module.exports = Status;
module.exports = Status;

0 comments on commit a183d6d

Please sign in to comment.