From 3698421974555ad767e9c1ef4a9e7232a4e0916a Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Mon, 3 May 2021 08:15:34 +0200 Subject: [PATCH] Remove unnecessary proto import --- buf.yaml | 2 -- proto/grpc/health/v1/health.proto | 29 ----------------------------- 2 files changed, 31 deletions(-) delete mode 100644 proto/grpc/health/v1/health.proto diff --git a/buf.yaml b/buf.yaml index b7490e0..1a3861e 100644 --- a/buf.yaml +++ b/buf.yaml @@ -14,8 +14,6 @@ lint: - DEFAULT except: - PACKAGE_DIRECTORY_MATCH - ignore: - - grpc/health/v1/ allow_comment_ignores: true breaking: use: diff --git a/proto/grpc/health/v1/health.proto b/proto/grpc/health/v1/health.proto deleted file mode 100644 index 75f3176..0000000 --- a/proto/grpc/health/v1/health.proto +++ /dev/null @@ -1,29 +0,0 @@ -syntax = "proto3"; - -package grpc.health.v1; - -option csharp_namespace = "INetMock.Client.Rpc"; -option go_package = "gitlab.com/inetmock/inetmock/pkg/grpc/health/v1"; -option java_multiple_files = true; -option java_outer_classname = "HealthProto"; -option java_package = "com.github.baez90.inetmock.rpc"; - -message HealthCheckRequest { - string service = 1; -} - -message HealthCheckResponse { - enum ServingStatus { - UNKNOWN = 0; - SERVING = 1; - NOT_SERVING = 2; - SERVICE_UNKNOWN = 3; // Used only by the Watch method. - } - ServingStatus status = 1; -} - -service Health { - rpc Check(HealthCheckRequest) returns (HealthCheckResponse); - - rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse); -}