From f6ec7411145ac883829038712d660de2438fed69 Mon Sep 17 00:00:00 2001 From: yukun Date: Fri, 10 Dec 2021 21:14:14 +0800 Subject: [PATCH] [skip ci]Format rocksdbkv log (#13190) Signed-off-by: fishpenguin --- internal/kv/rocksdb/rocksdb_kv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/kv/rocksdb/rocksdb_kv.go b/internal/kv/rocksdb/rocksdb_kv.go index e48b4d0f66..0fb5cd62a2 100644 --- a/internal/kv/rocksdb/rocksdb_kv.go +++ b/internal/kv/rocksdb/rocksdb_kv.go @@ -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