From f499584c38645954c8a953300fc05cbbaeecf8dd Mon Sep 17 00:00:00 2001 From: Brian Shumate Date: Thu, 13 Apr 2017 11:36:19 -0400 Subject: [PATCH] API: Add struct fields, fixes #2882 - Add CreateIndex and ModifyIndex to AgentService - Add CreateIndex and ModifyIndex to Node --- api/agent.go | 2 ++ api/catalog.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/api/agent.go b/api/agent.go index 1893d1cf35..35c0676b51 100644 --- a/api/agent.go +++ b/api/agent.go @@ -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 diff --git a/api/catalog.go b/api/catalog.go index 96226f11f8..36b088249e 100644 --- a/api/catalog.go +++ b/api/catalog.go @@ -6,6 +6,8 @@ type Node struct { Address string TaggedAddresses map[string]string Meta map[string]string + CreateIndex uint64 + ModifyIndex uint64 } type CatalogService struct {