diff --git a/templates/etc/sensu/uchiwa.json.erb b/templates/etc/sensu/uchiwa.json.erb index 0a25dbe..3d3bd3f 100644 --- a/templates/etc/sensu/uchiwa.json.erb +++ b/templates/etc/sensu/uchiwa.json.erb @@ -41,7 +41,7 @@ } }<%= ',' if i < (@users.size - 1) %> <%- end -%> - ]<%= ',' if @auth.size == 2 %> + ]<%= ',' if @users.size %> <%- end -%> <%- if @auth.size == 2 -%> "auth": {