Fix passing microversion to client states
This patch fixes passing ironic microversion in client states.
Change-Id: I16d1c0980aaf2f7e956a29138bf8970185e9cc95
Related-Prod: PROD-24660
diff --git a/ironic/client.sls b/ironic/client.sls
index fa6b2f5..7a12d23 100644
--- a/ironic/client.sls
+++ b/ironic/client.sls
@@ -19,8 +19,8 @@
{%- if node.network_interface is defined %}
- network_interface: {{ node.network_interface }}
{%- endif %}
- {%- if node.ironic_api_version is defined %}
- - ironic_api_version: "{{ node.ironic_api_version }}"
+ {%- if node.microversion is defined %}
+ - microversion: "{{ node.microversion }}"
{%- endif %}
{%- if node.ports is defined %}
@@ -34,8 +34,8 @@
{%- if port.local_link_connection is defined %}
- local_link_connection: {{ port.local_link_connection }}
{%- endif %}
- {%- if port.ironic_api_version is defined %}
- - ironic_api_version: "{{ port.ironic_api_version }}"
+ {%- if port.microversion is defined %}
+ - microversion: "{{ port.microversion }}"
{%- endif %}
{%- endfor %} # end for ports