chore: Fix clippy lint (#1181)
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct HealthCheckRequest {
|
||||
#[prost(string, tag = "1")]
|
||||
pub service: ::prost::alloc::string::String,
|
||||
}
|
||||
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct HealthCheckResponse {
|
||||
#[prost(enumeration = "health_check_response::ServingStatus", tag = "1")]
|
||||
|
||||
@@ -36,7 +36,7 @@ pub mod proto {
|
||||
pub mod server;
|
||||
|
||||
/// An enumeration of values representing gRPC service health.
|
||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||
pub enum ServingStatus {
|
||||
/// Unknown status
|
||||
Unknown,
|
||||
|
||||
Reference in New Issue
Block a user