From 32dbb51c3bb03b3114a66ce2920502b58d5d39f4 Mon Sep 17 00:00:00 2001 From: Kyle Havlovitz Date: Wed, 24 Jan 2018 16:14:11 -0800 Subject: [PATCH] Remove nonvoter from metadata.Server --- agent/metadata/server.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agent/metadata/server.go b/agent/metadata/server.go index 88884b2a5..b2873ed22 100644 --- a/agent/metadata/server.go +++ b/agent/metadata/server.go @@ -36,7 +36,6 @@ type Server struct { Build version.Version Version int RaftVersion int - NonVoter bool Addr net.Addr Status serf.MemberStatus @@ -140,8 +139,6 @@ func IsConsulServer(m serf.Member) (bool, *Server) { } } - _, nonVoter := m.Tags["nonvoter"] - addr := &net.TCPAddr{IP: m.Addr, Port: port} parts := &Server{ @@ -160,7 +157,6 @@ func IsConsulServer(m serf.Member) (bool, *Server) { Version: vsn, RaftVersion: raft_vsn, Status: m.Status, - NonVoter: nonVoter, UseTLS: useTLS, } return true, parts