mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
[skip ci]Format rocksdbkv (#11852)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
2ea70b6ead
commit
8593d75fd1
@ -82,7 +82,7 @@ func (kv *RocksdbKV) GetName() string {
|
||||
// Load returns the value of specified key
|
||||
func (kv *RocksdbKV) Load(key string) (string, error) {
|
||||
if kv.DB == nil {
|
||||
return "", fmt.Errorf("Rocksdb instance is nil when load %s", key)
|
||||
return "", fmt.Errorf("rocksdb instance is nil when load %s", key)
|
||||
}
|
||||
|
||||
value, err := kv.DB.Get(kv.ReadOptions, []byte(key))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user