mirror of https://github.com/status-im/consul.git
api: update intention struct for precedence
This commit is contained in:
parent
fb0a58e682
commit
71216631d7
|
@ -43,6 +43,11 @@ type Intention struct {
|
|||
// opaque to Consul but is served in API responses.
|
||||
Meta map[string]string
|
||||
|
||||
// Precedence is the order that the intention will be applied, with
|
||||
// larger numbers being applied first. This is a read-only field, on
|
||||
// any intention update it is updated.
|
||||
Precedence int
|
||||
|
||||
// CreatedAt and UpdatedAt keep track of when this record was created
|
||||
// or modified.
|
||||
CreatedAt, UpdatedAt time.Time
|
||||
|
|
Loading…
Reference in New Issue