chore: silence SSH connection failure logs

This commit is contained in:
12600k-rog-d4
2026-08-13 02:09:39 +08:00
parent 84f24d1972
commit 5e296bfe19
2 changed files with 1 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ stress:
# --- 工作流 --- # --- 工作流 ---
workflow: workflow:
interval: 30s interval: 60s
# --- 报告与打印 --- # --- 报告与打印 ---
report: report:

View File

@@ -296,7 +296,6 @@ func TestDevice(ip string, cfg config.Config) *Report {
conn, err := sshclient.Connect(ip, sshCfg) conn, err := sshclient.Connect(ip, sshCfg)
if err != nil { if err != nil {
fmt.Printf(" [测试] %s SSH 连接失败: %v\n", ip, err)
return NewSSHFailReport(ip, err) return NewSSHFailReport(ip, err)
} }
defer conn.Close() defer conn.Close()