Fix formatting in [magnum].labels
magnum-tempest-plugin since commit[0] is using ast.literal_eval() to
parse the value set in [magnum].labels, so the formatting needs to be a
Python dict.
This is an example of how the string needs to look like to make the
parser happy:
>>> import ast
>>> ast.literal_eval('{"a": "1:1"}')
{'a': '1:1'}
[0] 2fe075ae78 (diff-8e9d4d1beb73d502d61e14564c76d54acf855bf8)
This commit is contained in:
@@ -153,7 +153,7 @@ flavor_id = {{ flavor_ref }}
|
||||
dns_nameserver = {{ test_name_server }}
|
||||
network_driver = flannel
|
||||
{%- if test_registry_prefix %}
|
||||
labels = container_infra_prefix={{ test_registry_prefix }}
|
||||
labels = {"container_infra_prefix": "{{ test_registry_prefix }}"
|
||||
insecure_registry = {{ test_registry_prefix }}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
|
||||
Reference in New Issue
Block a user