mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
kubevirt_vm: Fix the default label (#54772)
This commit is contained in:
parent
e422f18898
commit
919b19f18d
2 changed files with 2 additions and 2 deletions
|
@ -342,7 +342,7 @@ class KubeVirtRawModule(KubernetesRawModule):
|
|||
template_spec['domain']['cpu']['model'] = cpu_model
|
||||
|
||||
if labels:
|
||||
template['metadata']['labels'] = labels
|
||||
self.merge_dicts(template['metadata']['labels'], labels)
|
||||
|
||||
if machine_type:
|
||||
template_spec['domain']['machine']['type'] = machine_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue