mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 04:49:08 +08:00
[skip ci]Format rocksdbkv (#12033)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
d482f8aa9f
commit
18b9f7810c
@ -141,7 +141,7 @@ func (kv *RocksdbKV) ResetPrefixLength(len int) error {
|
||||
// MultiLoad load a batch of values by keys
|
||||
func (kv *RocksdbKV) MultiLoad(keys []string) ([]string, error) {
|
||||
if kv.DB == nil {
|
||||
return nil, errors.New("Rocksdb instance is nil when do MultiLoad")
|
||||
return nil, errors.New("rocksdb instance is nil when do MultiLoad")
|
||||
}
|
||||
values := make([]string, 0, len(keys))
|
||||
for _, key := range keys {
|
||||
|
Loading…
Reference in New Issue
Block a user