Skip to content

Commit

Permalink
correcting searchKey
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaela-soares committed Sep 22, 2021
1 parent 42736e7 commit 0366ade
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CxPolicy[result] {
result := {
"documentId": input.document[i].id,
"issueType": "IncorrectValue",
"searchKey": sprintf("kind={{%s}}.namespace", [kind]),
"searchKey": sprintf("metadata.name={{%s}}.namespace", [metadata.name]),
"keyExpectedValue": "'metadata.namespace' is not set to default, kube-system or kube-public",
"keyActualValue": sprintf("'metadata.namespace' is set to %s", [options[x]]),
"searchLine": common_lib.build_search_line(["metadata", "namespace"], [])
Expand Down

0 comments on commit 0366ade

Please sign in to comment.