We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7744e9 + bb0eafd commit d51e129Copy full SHA for d51e129
content/migration.md
@@ -283,8 +283,9 @@ export class DogHealthIndicator {
283
284
try {
285
const badboys = await this.getBadboys();
286
+ const isHealthy = badboys.length === 0;
287
- if (badboys.length === 0) {
288
+ if (!isHealthy) {
289
// Mark the indicator as "down" and add additional info to the response
290
return indicator.down({ badboys: badboys.length });
291
}
0 commit comments