fixed typo
This commit is contained in:
parent
59ad9d8ec5
commit
0dead7e423
1 changed files with 1 additions and 1 deletions
2
pool.go
2
pool.go
|
|
@ -126,7 +126,7 @@ func (c *PoolClient) FindServer(ctx context.Context, poolname, servername, id st
|
||||||
for _, pool := range pools {
|
for _, pool := range pools {
|
||||||
sl, err := c.ListMembers(ctx, pool)
|
sl, err := c.ListMembers(ctx, pool)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return nil, err
|
||||||
}
|
}
|
||||||
for _, srv := range sl {
|
for _, srv := range sl {
|
||||||
if id != "" && srv.ID == id {
|
if id != "" && srv.ID == id {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue