parent
8f8e3db067
commit
71952a0aad
1 changed files with 5 additions and 1 deletions
|
@ -457,6 +457,10 @@ class LXDContainerManagement(object):
|
|||
return False
|
||||
if key == 'config':
|
||||
old_configs = dict((k, v) for k, v in self.old_container_json['metadata'][key].items() if not k.startswith('volatile.'))
|
||||
for k, v in self.config['config'].items():
|
||||
if old_configs[k] != v:
|
||||
return True
|
||||
return False
|
||||
else:
|
||||
old_configs = self.old_container_json['metadata'][key]
|
||||
return self.config[key] != old_configs
|
||||
|
|
Loading…
Reference in a new issue