API: Add struct fields, fixes #2882

- Add CreateIndex and ModifyIndex to AgentService
- Add CreateIndex and ModifyIndex to Node
This commit is contained in:
Brian Shumate 2017-04-13 11:36:19 -04:00
parent a44c50eaf1
commit f499584c38
No known key found for this signature in database
GPG Key ID: B2E211633F870928
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ type AgentService struct {
Port int Port int
Address string Address string
EnableTagOverride bool EnableTagOverride bool
CreateIndex uint64
ModifyIndex uint64
} }
// AgentMember represents a cluster member known to the agent // AgentMember represents a cluster member known to the agent

View File

@ -6,6 +6,8 @@ type Node struct {
Address string Address string
TaggedAddresses map[string]string TaggedAddresses map[string]string
Meta map[string]string Meta map[string]string
CreateIndex uint64
ModifyIndex uint64
} }
type CatalogService struct { type CatalogService struct {