Skip to content

Commit 065685d

Browse files
zhengboahzhengb-gc
andauthored
Fix dialtesting log 1104 (#172)
* save * save --------- Co-authored-by: zhengb <zhengb@guance.com>
1 parent 139ec74 commit 065685d

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

dialtesting/icmp.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ func doPing(timeout time.Duration, target string) (rtt time.Duration, err error)
621621
}
622622
if err != nil {
623623
if nerr, ok := err.(net.Error); ok && nerr.Timeout() { // nolint: errorlint
624-
logger.Debugf("timeout reading from socket: %s", err.Error())
625624
return 0, nil
626625
}
627626
return 0, fmt.Errorf("error reading from socket: %w", err)

dialtesting/task.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ type ITask interface {
114114
ID() string
115115
Status() string
116116
Run() error
117+
Clear()
117118
CheckResult() ([]string, bool)
118119
Class() string
119120
GetResults() (map[string]string, map[string]interface{})

0 commit comments

Comments
 (0)