[skip ci] fix golint error in binlog_reader.go (#9114)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-10-03 08:53:55 +08:00 committed by GitHub
parent 3c8fc9190c
commit 6d2efe13b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,8 @@ func (reader *BinlogReader) readDescriptorEvent() (*descriptorEvent, error) {
return &reader.descriptorEvent, nil
}
// Close closes the BinlogReader object.
// It mainly calls the Close method of the internal events, reclaims resources, and marks itself as closed.
func (reader *BinlogReader) Close() error {
if reader.isClose {
return nil