api: update intention struct for precedence

pull/4275/head
Mitchell Hashimoto 7 years ago committed by Jack Pearkes
parent fb0a58e682
commit 71216631d7

@ -43,6 +43,11 @@ type Intention struct {
// opaque to Consul but is served in API responses. // opaque to Consul but is served in API responses.
Meta map[string]string 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 // CreatedAt and UpdatedAt keep track of when this record was created
// or modified. // or modified.
CreatedAt, UpdatedAt time.Time CreatedAt, UpdatedAt time.Time

Loading…
Cancel
Save