Skip to content

Commit

Permalink
Merge pull request #72 from Financial-Times/health-checks
Browse files Browse the repository at this point in the history
fix: add id to pass validation for healthchecks checks
  • Loading branch information
fenglish authored Sep 7, 2020
2 parents facb05a + 344a633 commit 0749755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/health.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ exports.check = opts => {
getStatus: () => {
return {
name: 'n-url-management-api-read-client health check',
id: 'nUrlManagementApiRC-failureMode',
ok: !active.totalFailure(),
checkOutput: `Total failure mode (can't reach either master or slave DynamoDBs) when following is true: ${active.totalFailure()}. Currently using ${active()} table.`,
lastUpdated: new Date(),
Expand Down

0 comments on commit 0749755

Please sign in to comment.