mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
website: fix stray sentinel references using the old syntax (#5191)
[skip ci]
This commit is contained in:
parent
7fd03b3ba4
commit
3841e9e396
@ -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"
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user