X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c446dd845656e944c2d3f91f8d00e320c37b66a1..42c20b25e1325124b88e3b9b285544dc41122b56:/apps/workbench/app/views/projects/_compute_node_status.html.erb 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 528d0ea0eb..3de2ab67ab 100644 --- a/apps/workbench/app/views/projects/_compute_node_status.html.erb +++ b/apps/workbench/app/views/projects/_compute_node_status.html.erb @@ -1,7 +1,10 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. +SPDX-License-Identifier: AGPL-3.0 %> + +

Node status

- <% nodes.sort_by { |n| n.hostname || "" }.each do |n| %> - <% if n.crunch_worker_state.in? ["busy", "idle"] %> + <% nodes.each do |n| %>
<%= n.hostname %> @@ -9,10 +12,9 @@
state: <%= n.crunch_worker_state %>
<% [:total_cpu_cores, :total_ram_mb, :total_scratch_mb].each do |i| %> - <%= i.to_s.gsub '_', ' ' %>: <%= n.info[i] %>
+ <%= i.to_s.gsub '_', ' ' %>: <%= n.properties[i] %>
<% end %>
- <% end %> <% end %>