Browse Source

fix the custom probe

pull/1/head
Nicolas Massé 8 years ago
parent
commit
b1742c0cb8
  1. 2
      Custom-HTTP-Probe/server.js

2
Custom-HTTP-Probe/server.js

@ -86,7 +86,7 @@ router.get("/probe/liveness",function(req,res){
}); });
router.get("/probe/custom",function(req,res){ router.get("/probe/custom",function(req,res){
if (alive) { if (alive && countdown <= 0) {
res.type('application/json') res.type('application/json')
.status(418) .status(418)
.send(JSON.stringify(getState())) .send(JSON.stringify(getState()))

Loading…
Cancel
Save