mirror of https://github.com/status-im/consul.git
acl: Updating for HCL changes
This commit is contained in:
parent
8a0eeae269
commit
34e018e471
|
@ -15,7 +15,7 @@ const (
|
||||||
// an ACL configuration.
|
// an ACL configuration.
|
||||||
type Policy struct {
|
type Policy struct {
|
||||||
ID string `hcl:"-"`
|
ID string `hcl:"-"`
|
||||||
Keys []*KeyPolicy `hcl:"key"`
|
Keys []*KeyPolicy `hcl:"key,expand"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// KeyPolicy represents a policy for a key
|
// KeyPolicy represents a policy for a key
|
||||||
|
|
Loading…
Reference in New Issue