From 2bb14a957ed8434502555ab73c0bfbb6940a0dcc Mon Sep 17 00:00:00 2001 From: Sam Dealy Date: Fri, 17 Mar 2023 16:43:54 -0700 Subject: [PATCH] Fix bad merge --- fog/view/server/src/fog_view_router_server.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fog/view/server/src/fog_view_router_server.rs b/fog/view/server/src/fog_view_router_server.rs index cf6a702665..ae688e66b7 100644 --- a/fog/view/server/src/fog_view_router_server.rs +++ b/fog/view/server/src/fog_view_router_server.rs @@ -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::>(); // Health check service let health_service = mc_util_grpc::HealthService::new(None, logger.clone()).into_service();