Revision 845b7ed1 lib/cmdlib/instance_utils.py

b/lib/cmdlib/instance_utils.py
292 292

  
293 293
  CheckDiskTemplateEnabled(lu.cfg.GetClusterInfo(), instance.disk_template)
294 294

  
295
  if instance.disk_template in constants.DTS_FILEBASED:
295
  if instance.disk_template in [constants.DT_FILE, constants.DT_SHARED_FILE]:
296 296
    file_storage_dir = os.path.dirname(instance.disks[0].logical_id[1])
297 297
    if target_node_uuid:
298 298
      tgt = target_node_uuid

Also available in: Unified diff