update rpcclient lib (fixes #4413)

This commit is contained in:
ionutboangiu
2024-08-13 19:15:35 +03:00
committed by Dan Christian Bogos
parent 656911e4aa
commit d507e29a8f
3 changed files with 4 additions and 4 deletions

View File

@@ -191,7 +191,7 @@ func (cM *ConnManager) CallWithConnIDs(connIDs []string, subsHostIDs utils.Strin
if conn, err = cM.getConnWithConfig(connID, newCfg, nil, nil, false); err != nil {
continue
}
if err = conn.Call(context.TODO(), method, arg, reply); !rpcclient.IsConnectionErr(err) && !rpcclient.IsServiceErr(err) {
if err = conn.Call(context.TODO(), method, arg, reply); !rpcclient.ShouldFailover(err) {
return
}
}