diff options
Diffstat (limited to 'vendor/google.golang.org/grpc/health/health.go')
-rw-r--r-- | vendor/google.golang.org/grpc/health/health.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/google.golang.org/grpc/health/health.go b/vendor/google.golang.org/grpc/health/health.go index c2588867e..4c671f6a3 100644 --- a/vendor/google.golang.org/grpc/health/health.go +++ b/vendor/google.golang.org/grpc/health/health.go @@ -63,6 +63,11 @@ func (s *Server) Check(ctx context.Context, in *healthpb.HealthCheckRequest) (*h return nil, status.Error(codes.NotFound, "unknown service") } +// Watch implements `service Health`. +func (s *Server) Watch(in *healthpb.HealthCheckRequest, stream healthpb.Health_WatchServer) error { + return status.Error(codes.Unimplemented, "Watching is not supported") +} + // SetServingStatus is called when need to reset the serving status of a service // or insert a new service entry into the statusMap. func (s *Server) SetServingStatus(service string, status healthpb.HealthCheckResponse_ServingStatus) { |