mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-10-18 21:24:36 +08:00
hotfix: close chan (#245)
This commit is contained in:
@@ -48,7 +48,7 @@ func (w *wsHandler) handle(ctx context.Context) {
|
||||
ctx, f := context.WithCancel(ctx)
|
||||
defer f()
|
||||
|
||||
cli, err := util.DialSshRemote(w.sshConfig)
|
||||
cli, err := util.DialSshRemote(ctx, w.sshConfig)
|
||||
if err != nil {
|
||||
w.Log("Dial ssh remote error: %v", err)
|
||||
return
|
||||
|
Reference in New Issue
Block a user