Commit 2b268134 authored by Yong Tang's avatar Yong Tang Committed by GitHub

Golint fix (#1475)

Golint fix to make goreportcard happy
Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 09d4a9c2
......@@ -62,10 +62,7 @@ func (dio *dnstapIO) newConnect() error {
}
}
if err = dio.enc.resetWriter(dio.conn); err != nil {
return err
}
return nil
return dio.enc.resetWriter(dio.conn)
}
// Connect connects to the dnstop endpoint.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment