Skip to content

Commit

Permalink
Update client.go
Browse files Browse the repository at this point in the history
Signed-off-by: Corey Boornazian <coreyb220@gmail.com>
  • Loading branch information
cboornaz17 committed Jul 25, 2018
1 parent c043485 commit c8a12fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions examples/hotrod/services/route/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ func (c *Client) FindRoute(ctx context.Context, pickup, dropoff string) (*Route,
v.Set("pickup", pickup)
v.Set("dropoff", dropoff)
url := "http://" + c.hostPort + "/route?" + v.Encode()
<<<<<<< HEAD
fmt.Println(url)
=======
>>>>>>> 5bd8fb70090dbe9d778b1bc12b4ce1bd4abe52dc
var route Route
if err := c.client.GetJSON(ctx, "/route", url, &route); err != nil {
c.logger.For(ctx).Error("Error getting route", zap.Error(err))
Expand Down

0 comments on commit c8a12fa

Please sign in to comment.