diff --git a/api/connect_intention.go b/api/connect_intention.go index eb79731004..d171d22899 100644 --- a/api/connect_intention.go +++ b/api/connect_intention.go @@ -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