Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
HuaHuaY committed Mar 10, 2022
1 parent 50ae2a5 commit 11ef557
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
9 changes: 3 additions & 6 deletions rust/frontend/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,9 @@ impl FrontendMockMetaClient {

let notification_manager = Arc::new(NotificationManager::new());
let catalog_manager = Arc::new(
StoredCatalogManager::new(
meta_store.clone(),
notification_manager.clone(),
)
.await
.unwrap(),
StoredCatalogManager::new(meta_store.clone(), notification_manager.clone())
.await
.unwrap(),
);

let cluster_manager = Arc::new(
Expand Down
9 changes: 3 additions & 6 deletions rust/meta/src/rpc/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,9 @@ pub async fn rpc_serve_with_store<S: MetaStore>(
.unwrap(),
);
let catalog_manager_ref = Arc::new(
StoredCatalogManager::new(
meta_store_ref.clone(),
notification_manager.clone(),
)
.await
.unwrap(),
StoredCatalogManager::new(meta_store_ref.clone(), notification_manager.clone())
.await
.unwrap(),
);

let epoch_srv = EpochServiceImpl::new(epoch_generator_ref.clone());
Expand Down

0 comments on commit 11ef557

Please sign in to comment.