Revision 66a37e7a lib/cmdlib/instance_query.py

b/lib/cmdlib/instance_query.py
341 341

  
342 342
    """
343 343
    drbd_info = None
344
    if dev.dev_type in constants.LDS_DRBD:
344
    if dev.dev_type in constants.DTS_DRBD:
345 345
      # we change the snode then (otherwise we use the one passed in)
346 346
      if dev.logical_id[0] == instance.primary_node:
347 347
        snode_uuid = dev.logical_id[1]

Also available in: Unified diff