Skip to content

Commit 5fc7cd7

Browse files
committed
Fix key name in test content
The states expect value of `name` key from openshift-logging.yaml not `namespace`.
1 parent bad3a09 commit 5fc7cd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/probes/yamlfilecontent/test_probes_yamlfilecontent_offline_mode.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,19 @@
6565
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:1">
6666
<ind-def:path>/tmp</ind-def:path>
6767
<ind-def:filename>openshift-logging.yaml</ind-def:filename>
68-
<ind-def:yamlpath>.metadata.namespace</ind-def:yamlpath>
68+
<ind-def:yamlpath>.metadata.name</ind-def:yamlpath>
6969
</ind-def:yamlfilecontent_object>
7070

7171
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:2">
7272
<ind-def:path>/tmp</ind-def:path>
7373
<ind-def:filename>openshift-logging.yaml</ind-def:filename>
74-
<ind-def:yamlpath>.metadata.namespace</ind-def:yamlpath>
74+
<ind-def:yamlpath>.metadata.name</ind-def:yamlpath>
7575
</ind-def:yamlfilecontent_object>
7676

7777
<ind-def:yamlfilecontent_object version="1" id="oval:0:obj:3">
7878
<ind-def:path>/tmp</ind-def:path>
7979
<ind-def:filename>host-openshift-logging.yaml</ind-def:filename>
80-
<ind-def:yamlpath>.metadata.namespace</ind-def:yamlpath>
80+
<ind-def:yamlpath>.metadata.name</ind-def:yamlpath>
8181
</ind-def:yamlfilecontent_object>
8282

8383
</objects>

0 commit comments

Comments
 (0)