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 f16090e39e
commit 9d87883c85
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
Address string
EnableTagOverride bool
CreateIndex uint64
ModifyIndex uint64
}
// AgentMember represents a cluster member known to the agent

View File

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