Skip to content

Commit

Permalink
chore: fixup lint
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Sep 20, 2024
1 parent 85da498 commit 169205a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions src/meta/api/src/name_value_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,10 @@ use databend_common_meta_app::schema::CreateOption;
use databend_common_meta_app::tenant_key::errors::ExistError;
use databend_common_meta_app::tenant_key::ident::TIdent;
use databend_common_meta_app::tenant_key::resource::TenantResource;
use databend_common_meta_kvapi::kvapi;
use databend_common_meta_kvapi::kvapi::KVApi;
use databend_common_meta_kvapi::kvapi::KeyCodec;
use databend_common_meta_types::Change;
use databend_common_meta_types::MatchSeq;
use databend_common_meta_types::MetaError;
use databend_common_meta_types::SeqV;
use databend_common_meta_types::SeqValue;
use databend_common_meta_types::TxnRequest;
use databend_common_meta_types::With;
Expand Down
3 changes: 1 addition & 2 deletions src/meta/api/src/schema_api_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ use databend_common_meta_app::schema::UpdateDictionaryReply;
use databend_common_meta_app::schema::UpdateDictionaryReq;
use databend_common_meta_app::schema::UpdateMultiTableMetaReq;
use databend_common_meta_app::schema::UpdateMultiTableMetaResult;
use databend_common_meta_app::schema::UpdateStreamMetaReq;
use databend_common_meta_app::schema::UpdateTableMetaReply;
use databend_common_meta_app::schema::UpdateVirtualColumnReq;
use databend_common_meta_app::schema::UpsertTableOptionReply;
Expand Down Expand Up @@ -3260,7 +3259,7 @@ async fn get_table_meta_history(
.collect::<Vec<_>>();

for c in inner_keys.chunks(DEFAULT_MGET_SIZE) {
let kvs = kv_api.get_pb_vec(c.into_iter().cloned()).await?;
let kvs = kv_api.get_pb_vec(c.iter().cloned()).await?;

for (k, table_meta) in kvs {
let Some(table_meta) = table_meta else {
Expand Down

0 comments on commit 169205a

Please sign in to comment.