Skip to content

Commit

Permalink
Fix bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
samdealy committed Mar 17, 2023
1 parent 4a8f2d7 commit 2bb14a9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions fog/view/server/src/fog_view_router_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,6 @@ where
FogViewRouterAdminService::new(shards.clone(), logger.clone()),
);
log::debug!(logger, "Constructed Fog View Router Admin GRPC Service");
let shard_health_clients = shards
.read()
.expect("RwLock poisoned")
.iter()
.enumerate()
.map(|(i, shard)| {
let uri = &shard.uri;
log::info!(logger, "HealthClient {i} uri is: {uri}");
let channel = ChannelBuilder::default_channel_builder(env.clone())
.connect_to_uri(&shard.uri, &logger);
HealthClient::new(channel)
})
.collect::<Vec<_>>();

// Health check service
let health_service = mc_util_grpc::HealthService::new(None, logger.clone()).into_service();
Expand Down

0 comments on commit 2bb14a9

Please sign in to comment.