Skip to content

Commit

Permalink
fix build error introduced by health check change (#9292)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhizor authored Jan 4, 2022
1 parent b475aa9 commit ee26499
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ private static void healthCheck(final ApiClient apiClient) {
final HealthApi healthApi = new HealthApi(apiClient);
try {
final HealthCheckRead healthCheck = healthApi.getHealthCheck();
assertTrue(healthCheck.getDb());
assertTrue(healthCheck.getAvailable());
} catch (final ApiException e) {
throw new RuntimeException("Health check failed, usually due to auto migration failure. Please check the logs for details.");
}
Expand Down

0 comments on commit ee26499

Please sign in to comment.