Skip to content

Commit

Permalink
Add workaround for go-resty import to go.mod
Browse files Browse the repository at this point in the history
go-resty is imported under its old import path by grpc-gateway.
This works around that problem until we pick up a version of
grpc-gateway that has the imports fixed.

See: golang/go#28513
  • Loading branch information
tbg committed May 30, 2019
1 parent dc6885d commit 9135788
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,10 @@ require (
gopkg.in/yaml.v2 v2.2.2
sigs.k8s.io/yaml v1.1.0
)

// go-resty is imported under its old import path by grpc-gateway.
// This works around that problem until we pick up a version of
// grpc-gateway that has the imports fixed.
//
// See: https://github.com/golang/go/issues/28513
replace github.com/go-resty/resty => gopkg.in/resty.v1 v1.11.0

0 comments on commit 9135788

Please sign in to comment.