[skip ci] Fix golint warning of binlog_iterator.go (#11091)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-11-02 21:45:53 +08:00 committed by GitHub
parent ac2a276815
commit 82b510eda2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,6 +176,7 @@ func (itr *DeltalogIterator) isDisposed() bool {
*/
// MergeIterator merge iterators.
type MergeIterator struct {
disposed int32
pos int
@ -184,6 +185,7 @@ type MergeIterator struct {
nextRecord *Value
}
// NewMergeIterator return a new MergeIterator.
func NewMergeIterator(iterators []Iterator) *MergeIterator {
return &MergeIterator{
iteraotrs: iterators,