mirror of
https://github.com/coredns/coredns.git
synced 2025-11-11 14:32:25 -05:00
Golint fix (#1475)
Golint fix to make goreportcard happy Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user