mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 19:02:18 +08:00
[skip ci]Fix golint error in minio_kv (#10700)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
58d202f200
commit
4ca4c81ce3
@ -114,7 +114,7 @@ func (kv *MinIOKV) LoadWithPrefix(key string) ([]string, []string, error) {
|
||||
return objectsKeys, objectsValues, nil
|
||||
}
|
||||
|
||||
// LoadWithPrefix load an object with @key.
|
||||
// Load loads an object with @key.
|
||||
func (kv *MinIOKV) Load(key string) (string, error) {
|
||||
object, err := kv.minioClient.GetObject(kv.ctx, kv.bucketName, key, minio.GetObjectOptions{})
|
||||
if object != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user