Revision cb92e7a1 lib/client/gnt_node.py

b/lib/client/gnt_node.py
276 276
                               " --secondary-only options can be passed",
277 277
                               errors.ECODE_INVAL)
278 278
  elif opts.primary_only:
279
    mode = constants.IALLOCATOR_NEVAC_PRI
279
    mode = constants.NODE_EVAC_PRI
280 280
  elif opts.secondary_only:
281
    mode = constants.IALLOCATOR_NEVAC_SEC
281
    mode = constants.NODE_EVAC_SEC
282 282
  else:
283
    mode = constants.IALLOCATOR_NEVAC_ALL
283
    mode = constants.NODE_EVAC_ALL
284 284

  
285 285
  # Determine affected instances
286 286
  fields = []

Also available in: Unified diff