mirror of https://github.com/status-im/consul.git
Apply suggestions from code review
This commit is contained in:
parent
d6458f3a9a
commit
b58b672d77
|
@ -23,7 +23,7 @@ An optional `sentinel` field specifying code and enforcement level can be added
|
||||||
|
|
||||||
<CodeBlockConfig heading="Ensure values written during KV updates end in 'dc1'">
|
<CodeBlockConfig heading="Ensure values written during KV updates end in 'dc1'">
|
||||||
|
|
||||||
```sentinel
|
```go
|
||||||
key "datacenter_name" {
|
key "datacenter_name" {
|
||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
|
@ -64,7 +64,7 @@ The following are two examples of ACL policies with Sentinel rules.
|
||||||
|
|
||||||
<CodeBlockConfig heading="Any values stored under the key 'dc1' end with 'dev'">
|
<CodeBlockConfig heading="Any values stored under the key 'dc1' end with 'dev'">
|
||||||
|
|
||||||
```sentinel
|
```go
|
||||||
key "dc1" {
|
key "dc1" {
|
||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
|
@ -82,7 +82,7 @@ EOF
|
||||||
|
|
||||||
<CodeBlockConfig heading="The key 'haproxy_version' can only be updated during business hours">
|
<CodeBlockConfig heading="The key 'haproxy_version' can only be updated during business hours">
|
||||||
|
|
||||||
```sentinel
|
```go
|
||||||
key "haproxy_version" {
|
key "haproxy_version" {
|
||||||
policy = "write"
|
policy = "write"
|
||||||
sentinel {
|
sentinel {
|
||||||
|
|
Loading…
Reference in New Issue