Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTDCS-196 - Comply with the standards #193

Merged
merged 3 commits into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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