kubevirt: Rewrite merge dict method

This commit is contained in:
Ondra Machacek 2019-05-30 16:02:54 +02:00 committed by Toshio Kuratomi
commit 6bceea4f51
2 changed files with 24 additions and 26 deletions

View file

@ -380,7 +380,7 @@ class KubeVirtVM(KubeVirtRawModule):
template['metadata']['labels']['vm.cnv.io/name'] = self.params.get('name')
dummy, definition = self.construct_vm_definition(kind, definition, template, defaults)
return dict(self.merge_dicts(definition, processedtemplate))
return self.merge_dicts(definition, processedtemplate)
def execute_module(self):
# Parse parameters specific to this module: