From c105065ec4b7b44eac900b0f176091edcfa53877 Mon Sep 17 00:00:00 2001 From: Tobias Schottdorf Date: Thu, 30 May 2019 11:29:05 +0200 Subject: [PATCH] Add workaround for go-resty import to go.mod 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 --- go.mod | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/go.mod b/go.mod index a84c2c12147..9f41791aab5 100644 --- a/go.mod +++ b/go.mod @@ -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