Revision 83d92ad8 lib/rpc.py

b/lib/rpc.py
864 864
    This is a multi-node call.
865 865

  
866 866
    """
867
    result = self._MultiNodeCall(node_list, "os_diagnose", [])
868

  
869
    for node_result in result.values():
870
      if not node_result.failed and node_result.data:
871
        node_result.data = [objects.OS.FromDict(oss)
872
                            for oss in node_result.data]
873
    return result
867
    return self._MultiNodeCall(node_list, "os_diagnose", [])
874 868

  
875 869
  def call_os_get(self, node, name):
876 870
    """Returns an OS definition.

Also available in: Unified diff