Revision 52a8a6ae lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
730 | 730 |
""" |
731 | 731 |
result = [] |
732 | 732 |
for (storage_type, storage_key) in storage_units: |
733 |
if storage_type == constants.ST_LVM_VG:
|
|
734 |
result.append((storage_type, storage_key, es_flag))
|
|
733 |
if storage_type in [constants.ST_LVM_VG, constants.ST_LVM_PV]:
|
|
734 |
result.append((storage_type, storage_key, [es_flag]))
|
|
735 | 735 |
else: |
736 | 736 |
result.append((storage_type, storage_key, [])) |
737 | 737 |
return result |
Also available in: Unified diff