mirror of https://github.com/status-im/consul.git
API: Add struct fields, fixes #2882
- Add CreateIndex and ModifyIndex to AgentService - Add CreateIndex and ModifyIndex to Node
This commit is contained in:
parent
a44c50eaf1
commit
f499584c38
|
@ -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
|
||||
|
|
|
@ -6,6 +6,8 @@ type Node struct {
|
|||
Address string
|
||||
TaggedAddresses map[string]string
|
||||
Meta map[string]string
|
||||
CreateIndex uint64
|
||||
ModifyIndex uint64
|
||||
}
|
||||
|
||||
type CatalogService struct {
|
||||
|
|
Loading…
Reference in New Issue