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" {
policy = "write"
sentinel {
code = " import \"strings\"
main = rule { strings.has_suffix(value, \"bar\") } "
code = <<EOF
import "strings"
main = rule { strings.has_suffix(value, "bar") }
EOF
enforcementlevel = "hard-mandatory"
}
}

View File

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