Remove binary file, replace nil error with unimplemented
This commit is contained in:
parent
4383248750
commit
4d8fcd4800
4 changed files with 3 additions and 3 deletions
|
@ -193,7 +193,7 @@ func (cs *checkoutService) Check(ctx context.Context, req *healthpb.HealthCheckR
|
|||
}
|
||||
|
||||
func (cs *checkoutService) Watch(req *healthpb.HealthCheckRequest, ws healthpb.Health_WatchServer) error {
|
||||
return nil
|
||||
return status.Errorf(codes.Unimplemented, "health check via Watch not implemented")
|
||||
}
|
||||
|
||||
func (cs *checkoutService) PlaceOrder(ctx context.Context, req *pb.PlaceOrderRequest) (*pb.PlaceOrderResponse, error) {
|
||||
|
|
Binary file not shown.
|
@ -241,7 +241,7 @@ func (p *productCatalog) Check(ctx context.Context, req *healthpb.HealthCheckReq
|
|||
}
|
||||
|
||||
func (p *productCatalog) Watch(req *healthpb.HealthCheckRequest, ws healthpb.Health_WatchServer) error {
|
||||
return nil
|
||||
return status.Errorf(codes.Unimplemented, "health check via Watch not implemented")
|
||||
}
|
||||
|
||||
func (p *productCatalog) ListProducts(context.Context, *pb.Empty) (*pb.ListProductsResponse, error) {
|
||||
|
|
|
@ -91,7 +91,7 @@ func (s *server) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*
|
|||
}
|
||||
|
||||
func (s *server) Watch(req *healthpb.HealthCheckRequest, ws healthpb.Health_WatchServer) error {
|
||||
return nil
|
||||
return status.Errorf(codes.Unimplemented, "health check via Watch not implemented")
|
||||
}
|
||||
|
||||
// GetQuote produces a shipping quote (cost) in USD.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue