Revision 2237687b lib/server/masterd.py

b/lib/server/masterd.py
288 288
      if use_locking:
289 289
        raise errors.OpPrereqError("Sync queries are not allowed",
290 290
                                   errors.ECODE_INVAL)
291
      op = opcodes.OpQueryNodes(names=names, output_fields=fields,
292
                                use_locking=use_locking)
291
      op = opcodes.OpNodeQuery(names=names, output_fields=fields,
292
                               use_locking=use_locking)
293 293
      return self._Query(op)
294 294

  
295 295
    elif method == luxi.REQ_QUERY_GROUPS:

Also available in: Unified diff