From d07cdbe48b364c77cbeddc2c46e32a35fec86833 Mon Sep 17 00:00:00 2001 From: YiscahLevySilas1 Date: Thu, 12 Oct 2023 17:37:15 +0300 Subject: [PATCH] add [] to fixpath Signed-off-by: YiscahLevySilas1 --- rules/label-usage-for-resources/test/pod/expected.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/label-usage-for-resources/test/pod/expected.json b/rules/label-usage-for-resources/test/pod/expected.json index ffcc45464..159053bb6 100644 --- a/rules/label-usage-for-resources/test/pod/expected.json +++ b/rules/label-usage-for-resources/test/pod/expected.json @@ -2,7 +2,7 @@ "alertMessage": "in the following pods a certain set of labels is not defined: command-demo", "failedPaths": [], "fixPaths": [{ - "path": "metadata.labels.app", + "path": "metadata.labels[app]", "value": "YOUR_VALUE" }], "ruleStatus": "",