[skip ci] Fix golint error in print_binlog (#9042)

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/9046/head
zhenshan.cao 2021-10-01 23:41:23 +08:00 committed by GitHub
parent 32fd117a36
commit 5e78500519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ import (
"github.com/milvus-io/milvus/internal/util/tsoutil"
)
// PrintBinlogFiles call printBinlogFile in turn for the file list specified by parameter fileList.
// Return an error early if it encounters any error.
func PrintBinlogFiles(fileList []string) error {
for _, file := range fileList {
if err := printBinlogFile(file); err != nil {