Revision 2fe1e043 lib/utils/storage.py

b/lib/utils/storage.py
97 97
    return (storage_type, cfg.GetVGName())
98 98
  elif disk_template == constants.DT_FILE:
99 99
    return (storage_type, cluster.file_storage_dir)
100
  # FIXME: Adjust this, once SHARED_FILE_STORAGE_DIR
101
  # is not in autoconf anymore.
102 100
  elif disk_template == constants.DT_SHARED_FILE:
103
    return (storage_type, pathutils.DEFAULT_SHARED_FILE_STORAGE_DIR)
101
    return (storage_type, cluster.shared_file_storage_dir)
104 102
  else:
105 103
    return (storage_type, None)
106 104

  

Also available in: Unified diff