Merge branch 'stable-2.8' into stable-2.9
[ganeti-local] / lib / cmdlib / instance_query.py
index 5c55c7b..ee9ba13 100644 (file)
@@ -341,7 +341,7 @@ class LUInstanceQueryData(NoHooksLU):
 
     """
     drbd_info = None
-    if dev.dev_type in constants.LDS_DRBD:
+    if dev.dev_type in constants.DTS_DRBD:
       # we change the snode then (otherwise we use the one passed in)
       if dev.logical_id[0] == instance.primary_node:
         snode_uuid = dev.logical_id[1]