Skip to content

Commit

Permalink
vz: Fix usernet sshLocalPort check failure for vz driver
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Fang <yuanfang@alauda.io>
  • Loading branch information
fyuan1316 committed Jun 13, 2023
1 parent 9d29da3 commit 0850e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/networks/usernet/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (c *Client) UnExposeSSH(sshPort int) error {
}

func (c *Client) ResolveAndForwardSSH(vmMacAddr string, sshPort int) error {
timeout := time.After(1 * time.Minute)
timeout := time.After(2 * time.Minute)
ticker := time.NewTicker(500 * time.Millisecond)
for {
select {
Expand Down

0 comments on commit 0850e3b

Please sign in to comment.