Revision 54666867

b/lib/objects.py
828 828
        child.UpgradeConfig()
829 829

  
830 830
    # FIXME: Make this configurable in Ganeti 2.7
831
    self.params = {}
831
    # Params should be an empty dict that gets filled any time needed
832
    # In case of ext template we allow arbitrary params that should not
833
    # be overrided during a config reload/upgrade.
834
    if not self.params or not isinstance(self.params, dict):
835
      self.params = {}
836

  
832 837
    # add here config upgrade for this disk
833 838

  
834 839
    # If the file driver is empty, fill it up with the default value

Also available in: Unified diff