Skip to content

Commit 604688f

Browse files
sbernauerdervoeti
authored andcommitted
test: Fix outdated rego rules (#741)
1 parent 6f2a7fa commit 604688f

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docs/modules/opa/pages/usage-guide/policies.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ data:
2121
test.rego: | # <2>
2222
package test
2323
24-
hello {
24+
hello if {
2525
true
2626
}
2727
28-
world {
28+
world if {
2929
false
3030
}
3131
----

tests/templates/kuttl/logging/03-install-opa.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ data:
99
test.rego: |
1010
package test
1111

12-
hello {
12+
hello if {
1313
true
1414
}
1515

16-
world {
16+
world if {
1717
false
1818
}
1919
---

tests/templates/kuttl/smoke/10-install-opa.yaml.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ data:
99
test.rego: |
1010
package test
1111

12-
import rego.v1
13-
1412
hello if {
1513
true
1614
}

0 commit comments

Comments
 (0)