From ea98de3415cd02a19dee6a609101a63b62ac29e3 Mon Sep 17 00:00:00 2001 From: Congqi Xia Date: Wed, 31 Jul 2024 17:46:15 +0800 Subject: [PATCH] Fix lint issue Signed-off-by: Congqi Xia --- states/inspect_primary_key.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/states/inspect_primary_key.go b/states/inspect_primary_key.go index a6b5d79..91f5596 100644 --- a/states/inspect_primary_key.go +++ b/states/inspect_primary_key.go @@ -10,13 +10,14 @@ import ( "strings" "github.com/cockroachdb/errors" + "github.com/minio/minio-go/v7" + "github.com/milvus-io/birdwatcher/framework" "github.com/milvus-io/birdwatcher/models" "github.com/milvus-io/birdwatcher/proto/v2.0/schemapb" "github.com/milvus-io/birdwatcher/states/etcd/common" etcdversion "github.com/milvus-io/birdwatcher/states/etcd/version" "github.com/milvus-io/birdwatcher/storage" - "github.com/minio/minio-go/v7" ) type InspectPKParam struct { @@ -117,7 +118,6 @@ func (s *InstanceState) inspectRemote(ctx context.Context, p *InspectPKParam) (m } minioClient, bucketName, rootPath, err := s.GetMinioClientFromCfg(ctx, p.MinioAddress) - if err != nil { fmt.Println("Failed to create folder,", err.Error()) }