Skip to content

Commit

Permalink
Fix peer clients continuously getting added
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Oct 13, 2023
1 parent abfcd01 commit 6ac66fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/manager/loadbalancer/loadbalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ func (m *Manager) DiscoverLoxiLBServices(loxiLBAliveCh chan *api.LoxiClient, lox
}
}
if len(tmploxilbPeerClients) > 0 {
m.LoxiClients = append(m.LoxiClients, tmploxilbClients...)
m.LoxiPeerClients = append(m.LoxiPeerClients, tmploxilbPeerClients...)
}
tmp1 := m.LoxiPeerClients[:0]
for _, v := range m.LoxiPeerClients {
Expand Down

0 comments on commit 6ac66fd

Please sign in to comment.