[skip ci]Format rocksdbkv log (#13190)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-10 21:14:14 +08:00 committed by GitHub
parent 4d27c8ef14
commit f6ec741114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,7 @@ func (kv *RocksdbKV) RemoveWithPrefix(prefix string) error {
// Remove is used to remove a pair of key-value
func (kv *RocksdbKV) Remove(key string) error {
if kv.DB == nil {
return errors.New("Rocksdb instance is nil when do Remove")
return errors.New("rocksdb instance is nil when do Remove")
}
err := kv.DB.Delete(kv.WriteOptions, []byte(key))
return err