Revision 2e7b8369 lib/cli.py

b/lib/cli.py
944 944
  if cl is None:
945 945
    cl = GetClient()
946 946

  
947
  op = opcodes.OpQueryNodes(output_fields=["name", "offline"],
948
                            names=nodes)
949
  result = SubmitOpCode(op, cl=cl)
947
  result = cl.QueryNodes(names=nodes, fields=["name", "offline"],
948
                         use_locking=False)
950 949
  offline = [row[0] for row in result if row[1]]
951 950
  if offline and not nowarn:
952 951
    ToStderr("Note: skipping offline node(s): %s" % ", ".join(offline))

Also available in: Unified diff