core/rails/app/models/node.rb
# returns a hash with all the node error status information
returns a hash with all the node error status information
returns a hash with all the node error status information
def status
    s = []
    Node.transaction do
      node_roles.each { |nr| s[nr.id] = nr.status if nr.error?  }
    end
  end
def status s = [ ] Node . transaction do node_roles . each { | nr | s [ nr . id ] = nr . status if nr . error? } end end
returns a hash with all the node error status information
returns a hash with all the node error status information