mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 04:54:42 +00:00
rename eta proto
This commit is contained in:
@@ -18,7 +18,7 @@ type OSRM struct {
|
||||
Client *osrm.OSRM
|
||||
}
|
||||
|
||||
func (o *OSRM) ETA(ctx context.Context, req *pb.ETARequest, rsp *pb.ETAResponse) error {
|
||||
func (o *OSRM) Eta(ctx context.Context, req *pb.EtaRequest, rsp *pb.EtaResponse) error {
|
||||
// validate the request
|
||||
if req.Origin == nil {
|
||||
return ErrMissingOrigin
|
||||
|
||||
Reference in New Issue
Block a user