mirror of
https://github.com/coredns/coredns.git
synced 2025-11-10 22:12:21 -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 dio.enc.resetWriter(dio.conn)
|
||||||
return err
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Connect connects to the dnstop endpoint.
|
// Connect connects to the dnstop endpoint.
|
||||||
|
|||||||
Reference in New Issue
Block a user