Revision f2af0bec lib/server/masterd.py

b/lib/server/masterd.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2010 Google Inc.
4
# Copyright (C) 2006, 2007, 2010, 2011 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
278 278
      if use_locking:
279 279
        raise errors.OpPrereqError("Sync queries are not allowed",
280 280
                                   errors.ECODE_INVAL)
281
      op = opcodes.OpQueryInstances(names=names, output_fields=fields,
282
                                    use_locking=use_locking)
281
      op = opcodes.OpInstanceQuery(names=names, output_fields=fields,
282
                                   use_locking=use_locking)
283 283
      return self._Query(op)
284 284

  
285 285
    elif method == luxi.REQ_QUERY_NODES:

Also available in: Unified diff