Remove unused var

The usage was removed in 8e22d80e3550592a32144f2d1c84ebf6becb957b,
however it seems there may be a bug here because the cluster name
is not updated when the target changes.
This commit is contained in:
Daniel Nephin 2020-05-14 14:44:19 -04:00
parent ff99f6466f
commit 3e76ebbd49
1 changed files with 0 additions and 1 deletions

View File

@ -325,7 +325,6 @@ func (s *Server) endpointsFromDiscoveryChain(
) )
if actualTargetID != targetID { if actualTargetID != targetID {
targetID = actualTargetID targetID = actualTargetID
target = chain.Targets[actualTargetID]
} }
failover = nil failover = nil