lib/karafka/web/ui/views/errors/_detail.erb in karafka-web-0.3.1 vs lib/karafka/web/ui/views/errors/_detail.erb in karafka-web-0.4.0
- old
+ new
@@ -3,10 +3,10 @@
<tr>
<td>
<%= "#{k}.#{k2}" %>
</td>
<td>
- <% if k2.to_s.include?('ssl') %>
+ <% if %w[sasl ssl].any? { |scope| k2.to_s.include?(scope) } %>
***
<% elsif k2.to_s == 'tags' %>
<%== tags(v2) %>
<% else %>
<%= v2 %>