X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e016b28393b74cd30a78ebe03eca7e37a51fefd3..cee8f888b442448b2bffe243da2e9cc5dcf29b04:/apps/workbench/app/views/projects/_compute_node_status.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/projects/_compute_node_status.html.erb b/apps/workbench/app/views/projects/_compute_node_status.html.erb index 6ad7ff4384..c2f5f39429 100644 --- a/apps/workbench/app/views/projects/_compute_node_status.html.erb +++ b/apps/workbench/app/views/projects/_compute_node_status.html.erb @@ -1,9 +1,6 @@

Node status

-<% active_nodes = 0 %>
- <% nodes.sort_by { |n| n.hostname || "" }.each do |n| %> - <% if n.crunch_worker_state.in? ["busy", "idle"] and (Time.now - n[:last_ping_at]) < 3600 %> - <% active_nodes += 1 %> + <% nodes.each do |n| %>
<%= n.hostname %> @@ -15,9 +12,5 @@ <% end %>
- <% end %> - <% end %> - <% if active_nodes == 0 %> - No active nodes <% end %>