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