feat: complete gvisor

This commit is contained in:
fengcaiwen
2023-08-14 19:02:56 +08:00
committed by naison
parent 30bf4838c2
commit ff2fcf939f
14 changed files with 212 additions and 117 deletions

View File

@@ -245,7 +245,7 @@ func getBastion(name string) *SshConfig {
config.Keyfile = value
}
}
config.Addr = fmt.Sprintf("%s:%s", host, port)
config.Addr = net.JoinHostPort(host, port)
return &config
}