Revision d8e55568 lib/cmdlib/common.py
b/lib/cmdlib/common.py | ||
---|---|---|
1101 | 1101 |
|
1102 | 1102 |
""" |
1103 | 1103 |
assert storage_type is not None |
1104 |
assert storage_type in constants.VALID_STORAGE_TYPES
|
|
1104 |
assert storage_type in constants.STORAGE_TYPES |
|
1105 | 1105 |
# special case for lvm-pv, because it cannot be enabled |
1106 | 1106 |
# via disk templates |
1107 | 1107 |
if storage_type == constants.ST_LVM_PV: |
Also available in: Unified diff