forked from TrueCloudLab/frostfs-node
[#1615] morph: Fix the switch comment message
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
713fdab177
commit
7c0aa69d11
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue