fix: server error return
Signed-off-by: haoyun <yun.hao@daocloud.io>
This commit is contained in:
parent
7020719646
commit
fa6759ae53
@ -219,7 +219,7 @@ can be used and modified as necessary as a custom configuration.`
|
||||
return ctx.Err()
|
||||
case r := <-chsrv:
|
||||
if r.err != nil {
|
||||
return err
|
||||
return r.err
|
||||
}
|
||||
server = r.s
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user