Revision cce46164
b/lib/objects.py | ||
---|---|---|
844 | 844 |
for child in self.children: |
845 | 845 |
child.UpgradeConfig() |
846 | 846 |
|
847 |
if not self.params: |
|
848 |
self.params = constants.DISK_LD_DEFAULTS[self.dev_type].copy() |
|
849 |
else: |
|
850 |
self.params = FillDict(constants.DISK_LD_DEFAULTS[self.dev_type], |
|
851 |
self.params) |
|
847 |
# FIXME: Make this configurable in Ganeti 2.7 |
|
848 |
if self.params: |
|
849 |
self.params = {} |
|
852 | 850 |
# add here config upgrade for this disk |
853 | 851 |
|
854 | 852 |
@staticmethod |
Also available in: Unified diff