website: fix stray sentinel references using the old syntax (#5191)

[skip ci]
This commit is contained in:
R.B. Boyer 2019-01-07 09:59:17 -06:00 committed by GitHub
parent 7fd03b3ba4
commit 3841e9e396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -737,8 +737,10 @@ Sentinel code policy looks like this:
key "foo" { key "foo" {
policy = "write" policy = "write"
sentinel { sentinel {
code = " import \"strings\" code = <<EOF
main = rule { strings.has_suffix(value, \"bar\") } " import "strings"
main = rule { strings.has_suffix(value, "bar") }
EOF
enforcementlevel = "hard-mandatory" enforcementlevel = "hard-mandatory"
} }
} }

View File

@ -847,8 +847,8 @@ key "foo" {
policy = "write" policy = "write"
sentinel { sentinel {
code = <<EOF code = <<EOF
import "strings\ import "strings"
main = rule { strings.has_suffix(value, "bar") } main = rule { strings.has_suffix(value, "bar") }
EOF EOF
enforcementlevel = "hard-mandatory" enforcementlevel = "hard-mandatory"
} }