chore: silence SSH connection failure logs
This commit is contained in:
@@ -22,7 +22,7 @@ stress:
|
||||
|
||||
# --- 工作流 ---
|
||||
workflow:
|
||||
interval: 30s
|
||||
interval: 60s
|
||||
|
||||
# --- 报告与打印 ---
|
||||
report:
|
||||
|
||||
@@ -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