Revision f2af0bec lib/watcher/__init__.py

b/lib/watcher/__init__.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 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
......
415 415

  
416 416
  """
417 417
  op1_fields = ["name", "status", "admin_state", "snodes"]
418
  op1 = opcodes.OpQueryInstances(output_fields=op1_fields, names=[],
419
                                 use_locking=True)
418
  op1 = opcodes.OpInstanceQuery(output_fields=op1_fields, names=[],
419
                                use_locking=True)
420 420
  op2_fields = ["name", "bootid", "offline"]
421 421
  op2 = opcodes.OpQueryNodes(output_fields=op2_fields, names=[],
422 422
                             use_locking=True)

Also available in: Unified diff