Skip to content

Commit cba7359

Browse files
authored
Remove GrpcStore from health checker registry (#1602)
1 parent d755d30 commit cba7359

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

nativelink-store/src/grpc_store.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use nativelink_util::buf_channel::{DropCloserReadHalf, DropCloserWriteHalf};
4040
use nativelink_util::common::DigestInfo;
4141
use nativelink_util::connection_manager::ConnectionManager;
4242
use nativelink_util::digest_hasher::{default_digest_hasher_func, ACTIVE_HASHER_FUNC};
43-
use nativelink_util::health_utils::{HealthRegistryBuilder, HealthStatusIndicator};
43+
use nativelink_util::health_utils::HealthStatusIndicator;
4444
use nativelink_util::origin_context::ActiveOriginContext;
4545
use nativelink_util::proto_stream_utils::{
4646
FirstStream, WriteRequestStreamWrapper, WriteState, WriteStateWrapper,
@@ -778,10 +778,6 @@ impl StoreDriver for GrpcStore {
778778
fn as_any_arc(self: Arc<Self>) -> Arc<dyn std::any::Any + Sync + Send + 'static> {
779779
self
780780
}
781-
782-
fn register_health(self: Arc<Self>, registry: &mut HealthRegistryBuilder) {
783-
registry.register_indicator(self);
784-
}
785781
}
786782

787783
default_health_status_indicator!(GrpcStore);

0 commit comments

Comments
 (0)