Skip to content

Commit

Permalink
Update status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoyce0510 committed Jul 19, 2023
1 parent 3b08fce commit a1992fa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ private Health computeAssertionHealthForDataset(final String datasetUrn, final Q
health.setType(HealthStatusType.ASSERTIONS);
if (failingAssertionUrns.size() > 0) {
health.setStatus(HealthStatus.FAIL);
health.setMessage(String.format("Dataset is failing %s/%s assertions.", failingAssertionUrns.size(),
health.setMessage(String.format("%s of %s failing", failingAssertionUrns.size(),
activeAssertionUrns.size()));
health.setCauses(failingAssertionUrns);
} else {
health.setStatus(HealthStatus.PASS);
health.setMessage("Dataset is passing all assertions.");
health.setMessage("Passing all assertions");
}
return health;

Expand Down

0 comments on commit a1992fa

Please sign in to comment.