mirror of https://github.com/hashicorp/consul
Remove unused var
The usage was removed in 8e22d80e35
,
however it seems there may be a bug here because the cluster name
is not updated when the target changes.
pull/7894/head
parent
4f738b462b
commit
9f27d61bee
|
@ -325,7 +325,6 @@ func (s *Server) endpointsFromDiscoveryChain(
|
|||
)
|
||||
if actualTargetID != targetID {
|
||||
targetID = actualTargetID
|
||||
target = chain.Targets[actualTargetID]
|
||||
}
|
||||
|
||||
failover = nil
|
||||
|
|
Loading…
Reference in New Issue