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:
parent
ff99f6466f
commit
3e76ebbd49
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue