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

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-10-26 22:38:44 +08:00 committed by GitHub
parent 58d202f200
commit 4ca4c81ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {