mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
[skip ci] fix golint error in binlog_reader.go (#9114)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
3c8fc9190c
commit
6d2efe13b6
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user