Merge pull request #6272 from jonyhy96/fix-error-return
This commit is contained in:
commit
b6b8facf15
@ -219,7 +219,7 @@ can be used and modified as necessary as a custom configuration.`
|
|||||||
return ctx.Err()
|
return ctx.Err()
|
||||||
case r := <-chsrv:
|
case r := <-chsrv:
|
||||||
if r.err != nil {
|
if r.err != nil {
|
||||||
return err
|
return r.err
|
||||||
}
|
}
|
||||||
server = r.s
|
server = r.s
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user