mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
region: guests: sshable: return early on sshable=true
This commit is contained in:
@@ -298,6 +298,7 @@ func (guest *SGuest) sshableTry(
|
||||
if client, err := conf.ConnectContext(ctx); err == nil {
|
||||
defer client.Close()
|
||||
methodData.Sshable = true
|
||||
ok = true
|
||||
} else {
|
||||
methodData.Reason = err.Error()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user