app/views/good_job/processes/index.html.erb in good_job-3.15.14 vs app/views/good_job/processes/index.html.erb in good_job-3.16.0
- old
+ new
@@ -38,11 +38,11 @@
<span class="text-muted small">@</span>
<span class="badge rounded-pill bg-light text-dark"><%= process.state["hostname"] %></span>
</div>
</div>
<div class="col">
- <% process.state["schedulers"].each do |scheduler| %>
- <pre class="mb-0"><%= scheduler %></pre>
+ <% process.schedulers.each do |scheduler| %>
+ <pre class="mb-0"><%= scheduler.is_a?(Hash) ? scheduler['name'] : scheduler %></pre>
<% end %>
</div>
<div class="col-2 small"><%= relative_time(process.created_at) %></div>
<div class="col-2 small"><%= relative_time(process.updated_at) %></div>
<div class="col-auto">