kubevirt_pvc: fix parameter priority (#57617)

pull/57702/head
Mariusz Mazur 6 years ago committed by ansibot
parent 07e1bd8fe7
commit 1035a9aa49

@ -437,7 +437,7 @@ class KubevirtPVC(KubernetesRawModule):
spec['volumeName'] = self.params.get('volume_name')
# 'resource_definition:' has lower priority than module parameters
definition = dict(KubeVirtRawModule.merge_dicts(self.resource_definitions[0], definition))
definition = dict(KubeVirtRawModule.merge_dicts(definition, self.resource_definitions[0]))
self.client = self.get_api_client()
resource = self.find_resource(KIND, API, fail=True)

Loading…
Cancel
Save