Skip to content

Commit

Permalink
health check now sends to server and this inside of health check hand…
Browse files Browse the repository at this point in the history
…lers is now Server with access to _statusMap
  • Loading branch information
iangeckeler committed Aug 9, 2019
1 parent 5779339 commit 78d91e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ module.exports = class Server extends grpc.Server {
this.uncaughtErrorHandler = uncaughtErrorHandler;
this._statusMap = new Map();
this.addService(healthcheck.HealthCheck, {
check: checkHandler,
watch: watchHandler
check: checkHandler.bind(this),
watch: watchHandler.bind(this)
});
}
/**
Expand Down

0 comments on commit 78d91e2

Please sign in to comment.