oslo_config_validator: Defaulting config_invalidations to empty list
When a node doesn't have anything to validate, the config invalidation fails, reporting a false negative. Related: https://bugzilla.redhat.com/2047328 Change-Id: I77e0c4568ecca2638aaa880369b9dec0eb5d1599
This commit is contained in:
parent
35491bd29a
commit
ebcab3dbe9
|
@ -20,7 +20,7 @@
|
|||
path: "{{ service.0.path }}"
|
||||
section: "{{ service.1.section }}"
|
||||
key: "{{ service.1.option }}"
|
||||
loop: "{{ config_invalidations | subelements('invalid_settings') }}"
|
||||
loop: "{{ config_invalidations | default([]) | subelements('invalid_settings') }}"
|
||||
loop_control:
|
||||
loop_var: service
|
||||
label: "{{ service.1.section }}/{{ service.1.option }} in {{ service.0.path }}"
|
||||
|
|
Loading…
Reference in New Issue