Skip to content

Commit

Permalink
Merge pull request #193 from Financial-Times/comply-standards
Browse files Browse the repository at this point in the history
FTDCS-196 - Comply with the standards
  • Loading branch information
JSRedondo authored Jun 30, 2022
2 parents dbcb4ee + e047251 commit f761c46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# n-health [![CircleCI](https://circleci.com/gh/Financial-Times/n-health.svg?style=svg)](https://circleci.com/gh/Financial-Times/n-health)

Collection of healthcheck classes to use in your nodejs application
Collection of healthcheck classes to use in your nodejs application.
To create a new health check, please follow the [current standard](https://docs.google.com/document/edit?id=1ftlkDj1SUXvKvKJGvoMoF1GnSUInCNPnNGomqTpJaFk)

## Usage

Expand Down
2 changes: 1 addition & 1 deletion src/checks/fastlyKeyExpiration.check.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class FastlyKeyExpirationCheck extends Check {
},
PASSED: {
status: status.PASSED,
checkOutput: 'Fastly key expiration date is ok',
checkOutput: `Fastly key ${this.name} is configured correctly`,
severity: this.severity
}
});
Expand Down
2 changes: 1 addition & 1 deletion test/fastlyKeyExpiration.check.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('Fastly Key Expiration Check', () => {
},
PASSED: {
status: status.PASSED,
checkOutput: 'Fastly key expiration date is ok',
checkOutput: `Fastly key ${defaultOptions.name} is configured correctly`,
severity: 2
}
};
Expand Down

0 comments on commit f761c46

Please sign in to comment.