Revision 17e5dbd0
b/lib/objects.py | ||
---|---|---|
844 | 844 |
child.UpgradeConfig() |
845 | 845 |
|
846 | 846 |
# FIXME: Make this configurable in Ganeti 2.7 |
847 |
self.params = {} |
|
847 |
# Params should be an empty dict that gets filled any time needed |
|
848 |
# In case of ext template we allow arbitrary params that should not |
|
849 |
# be overrided during a config reload/upgrade. |
|
850 |
if not self.params or not isinstance(self.params, dict): |
|
851 |
self.params = {} |
|
852 |
|
|
848 | 853 |
# add here config upgrade for this disk |
849 | 854 |
|
850 | 855 |
@staticmethod |
Also available in: Unified diff