kubevirt_pvc: fix parameter priority (#57617)
This commit is contained in:
parent
07e1bd8fe7
commit
1035a9aa49
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue