Skip to content

Commit

Permalink
Add message that WebGoat should be running while detecting datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaars committed Dec 22, 2021
1 parent 969335f commit 44ab36a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public DataSourceProperties dsConfigDiscovery(RestTemplate restTemplate) {
}

public void healthCheck(RestTemplate restTemplate) {
log.info("Checking database availability.");
log.info("Checking database availability (make sure WebGoat is running)...");
JsonNode json = restTemplate.getForObject(baseUrl + dbHealthPath, JsonNode.class);
String status = getDsHealthStatus(json);
if (!status.equals("UP")) {
Expand Down

0 comments on commit 44ab36a

Please sign in to comment.