From 5010ad11566e3501270e46b05db6ebe3ba32d693 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Wed, 14 Oct 2015 16:03:24 -0600 Subject: [PATCH] Force isCircuitBreakerOpen to String (if it's a Boolean for example) see https://github.com/Netflix/Hystrix/pull/927 --- .../components/hystrixCommand/templates/hystrixCircuit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-netflix-hystrix-dashboard/src/main/resources/static/hystrix/components/hystrixCommand/templates/hystrixCircuit.html b/spring-cloud-netflix-hystrix-dashboard/src/main/resources/static/hystrix/components/hystrixCommand/templates/hystrixCircuit.html index 58b8aaa03..7132a497b 100644 --- a/spring-cloud-netflix-hystrix-dashboard/src/main/resources/static/hystrix/components/hystrixCommand/templates/hystrixCircuit.html +++ b/spring-cloud-netflix-hystrix-dashboard/src/main/resources/static/hystrix/components/hystrixCommand/templates/hystrixCircuit.html @@ -42,7 +42,7 @@ <% } else { /* We have some circuits that are open */ %> - Circuit <%= isCircuitBreakerOpen.replace("true", "Open").replace("false", "Closed") %>) + Circuit <%= isCircuitBreakerOpen.toString().replace("true", "Open").replace("false", "Closed") %>) <% } %> <% } %>