Remove binary file, replace nil error with unimplemented

This commit is contained in:
askmeegs 2019-07-09 15:49:07 -04:00
parent 4383248750
commit 4d8fcd4800
4 changed files with 3 additions and 3 deletions

View file

@ -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 { 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) { func (cs *checkoutService) PlaceOrder(ctx context.Context, req *pb.PlaceOrderRequest) (*pb.PlaceOrderResponse, error) {

View file

@ -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 { 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) { func (p *productCatalog) ListProducts(context.Context, *pb.Empty) (*pb.ListProductsResponse, error) {

View file

@ -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 { 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. // GetQuote produces a shipping quote (cost) in USD.