Merge branch '4158-fix-compute-node-detail' closes #4158
authorPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 16 Mar 2015 13:08:38 +0000 (09:08 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Mon, 16 Mar 2015 13:08:38 +0000 (09:08 -0400)
apps/workbench/app/views/projects/_compute_node_status.html.erb

index 527dc643e545123b8f1194ac254015882d29fd26..cd9243d68f76003a77f65c7197477aa213d60e38 100644 (file)
@@ -35,7 +35,7 @@
   <% if Job.queue_size > queue.size %>
     <i>Note: some items in the queue are not visible to you.</i>
   <% end %>
-  <div>    
+  <div>
   </div>
 <% else %>
   There are currently no jobs in your queue.
@@ -52,7 +52,7 @@
           <div id="detail_<%= n.hostname %>" class="collapse compute-detail">
             state: <%= n.crunch_worker_state %><br>
             <% [:total_cpu_cores, :total_ram_mb, :total_scratch_mb].each do |i| %>
-              <%= i.to_s.gsub '_', ' ' %>: <%= n.info[i] %><br>
+              <%= i.to_s.gsub '_', ' ' %>: <%= n.properties[i] %><br>
             <% end %>
           </div>
         </div>