Skip to content

Commit

Permalink
Merge pull request #1547 from eunmin/hystrix-dashboard_multiple_circu…
Browse files Browse the repository at this point in the history
…it_status

Support multiple circuit status for Hystrix Dashboard
  • Loading branch information
mattrjacobs authored Apr 26, 2017
2 parents df912b2 + eb91b23 commit cf3f7e4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
<% } else {
/* We have some circuits that are open */
%>
Circuit <font color="orange"><%= isCircuitBreakerOpen.toString().replace("true", "Open").replace("false", "Closed") %></font>
<% if(typeof isCircuitBreakerOpen === 'object' ) { %>
Circuit <font color="orange">Open <%= isCircuitBreakerOpen.true %></font> <font color="green">Closed <%= isCircuitBreakerOpen.false %></font>
<% } else { %>
Circuit <font color="orange"><%= isCircuitBreakerOpen.toString().replace("true", "Open").replace("false", "Closed") %></font>
<% } %>
<% } %>
<% } %>
</div>
Expand Down

0 comments on commit cf3f7e4

Please sign in to comment.