Skip to content

Commit 248732e

Browse files
committed
Force isCircuitBreakerOpen to String (if it's a Boolean for example)
see Netflix/Hystrix#927
1 parent cd30bea commit 248732e

File tree

1 file changed

+1
-1
lines changed
  • spring-cloud-netflix-hystrix-dashboard/src/main/resources/static/hystrix/components/hystrixCommand/templates

1 file changed

+1
-1
lines changed

Diff for: spring-cloud-netflix-hystrix-dashboard/src/main/resources/static/hystrix/components/hystrixCommand/templates/hystrixCircuit.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<% } else {
4343
/* We have some circuits that are open */
4444
%>
45-
Circuit <font color="orange"><%= isCircuitBreakerOpen.replace("true", "Open").replace("false", "Closed") %>)</font>
45+
Circuit <font color="orange"><%= isCircuitBreakerOpen.toString().replace("true", "Open").replace("false", "Closed") %>)</font>
4646
<% } %>
4747
<% } %>
4848
</div>

0 commit comments

Comments
 (0)