You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/main/java/io/securecodebox/zap/service/engine/ZapTaskService.java
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -88,11 +88,9 @@ public boolean isApiAvailable() {
88
88
@Override
89
89
publicStatusDetailstatusDetail() {
90
90
try {
91
-
booleanisApiAvailable = this.isApiAvailable();
92
-
93
-
if (isApiAvailable) {
91
+
if (this.isApiAvailable()) {
94
92
log.debug("Internal health check: OK");
95
-
returnStatusDetail.statusDetail("Engine SCB API", Status.OK, "The Engine API is up and running", singletonMap("Deployed Processes", String.valueOf(this.taskApiClient.countProcesses())));
93
+
returnStatusDetail.statusDetail("Engine SCB API", Status.OK, "The Engine API is up and running");
96
94
} else {
97
95
returnStatusDetail.statusDetail("Engine SCB API", Status.WARNING, "Couldn't reach the Engine API!");
0 commit comments