forked from TrueCloudLab/frostfs-node
[#1615] morph: Fix the switch comment message
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>support/v0.34
parent
713fdab177
commit
7c0aa69d11
|
@ -33,7 +33,6 @@ func (c *Client) switchRPC() bool {
|
|||
c.client.Close()
|
||||
|
||||
// Iterate endpoints in the order of decreasing priority.
|
||||
// Skip the current endpoint.
|
||||
for c.endpoints.curr = range c.endpoints.list {
|
||||
newEndpoint := c.endpoints.list[c.endpoints.curr].Address
|
||||
cli, act, gas, err := c.newCli(newEndpoint)
|
||||
|
|
Loading…
Reference in New Issue