Revision e1a6abf9

b/lib/utils/storage.py
138 138
  cluster_config = cfg.GetClusterInfo()
139 139
  storage_units = []
140 140
  for disk_template in cluster_config.enabled_disk_templates:
141
    if constants.DISK_TEMPLATES_STORAGE_TYPE[disk_template]\
141
    if constants.MAP_DISK_TEMPLATE_STORAGE_TYPE[disk_template]\
142 142
        in constants.STS_REPORT:
143 143
      storage_units.append(
144 144
          _GetDefaultStorageUnitForDiskTemplate(cfg, disk_template))

Also available in: Unified diff