[skip ci]Format rocksdbkv (#12034)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/12043/head
yukun 2021-11-17 22:03:24 +08:00 committed by GitHub
parent 18b9f7810c
commit 3b51232d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ func (kv *RocksdbKV) MultiLoad(keys []string) ([]string, error) {
// Save a pair of key-value
func (kv *RocksdbKV) Save(key, value string) error {
if kv.DB == nil {
return errors.New("Rocksdb instance is nil when do save")
return errors.New("rocksdb instance is nil when do save")
}
err := kv.DB.Put(kv.WriteOptions, []byte(key), []byte(value))
return err