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: go-resty/resty#230
  • Loading branch information
tbg committed Jun 3, 2019
1 parent 35a6702 commit c105065
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/go-resty/resty/issues/230
replace github.com/go-resty/resty => gopkg.in/resty.v1 v1.11.0

0 comments on commit c105065

Please sign in to comment.