mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-05-06 13:22:38 +00:00
kubevirt_vm: Prevent unnecessary whitespace
This removes the unnecessary whitespace from the rendered VirtualMachine template and adds a unit test for it. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
@@ -284,11 +284,11 @@ spec:
|
||||
{% if instancetype %}
|
||||
instancetype:
|
||||
{{ instancetype | to_yaml | indent(4) }}
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
{% if preference %}
|
||||
preference:
|
||||
{{ preference | to_yaml | indent(4) }}
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
{% if data_volume_templates %}
|
||||
dataVolumeTemplates:
|
||||
{{ data_volume_templates | to_yaml | indent(4) }}
|
||||
|
||||
Reference in New Issue
Block a user