chore: silence SSH connection failure logs
This commit is contained in:
@@ -296,7 +296,6 @@ func TestDevice(ip string, cfg config.Config) *Report {
|
||||
|
||||
conn, err := sshclient.Connect(ip, sshCfg)
|
||||
if err != nil {
|
||||
fmt.Printf(" [测试] %s SSH 连接失败: %v\n", ip, err)
|
||||
return NewSSHFailReport(ip, err)
|
||||
}
|
||||
defer conn.Close()
|
||||
|
||||
Reference in New Issue
Block a user