未验证 提交 d598c78b 编写于 作者: Z zhenshan.cao 提交者: GitHub

[skip ci]Fix golint error in minio_kv (#10702)

Signed-off-by: Nzhenshan.cao <zhenshan.cao@zilliz.com>
上级 dcac9c71
......@@ -275,6 +275,7 @@ func (kv *MinIOKV) LoadPartial(key string, start, end int64) ([]byte, error) {
return ioutil.ReadAll(object)
}
// GetSize obtains the data size of the object with @key.
func (kv *MinIOKV) GetSize(key string) (int64, error) {
objectInfo, err := kv.minioClient.StatObject(kv.ctx, kv.bucketName, key, minio.StatObjectOptions{})
if err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册