go.mod: go not list grpc as direct dependency

The recent update to k8s 1.18.0 causes an issue in go.mod that gets
corrected by running `go mod verify`. grpc should be used in version
1.26, and not in the expected update 1.27.

By removing the dependency and keeping grpc in the 'replace' section,
`go mod verify` seems to be happy.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-04-20 11:44:20 +02:00 committed by mergify[bot]
parent 157e8f4c75
commit b3664cd631

1
go.mod
View File

@ -28,7 +28,6 @@ require (
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
google.golang.org/appengine v1.6.5 // indirect google.golang.org/appengine v1.6.5 // indirect
google.golang.org/genproto v0.0.0-20200413115906-b5235f65be36 // indirect google.golang.org/genproto v0.0.0-20200413115906-b5235f65be36 // indirect
google.golang.org/grpc v1.26.0
gopkg.in/square/go-jose.v2 v2.5.0 // indirect gopkg.in/square/go-jose.v2 v2.5.0 // indirect
k8s.io/api v0.18.0 k8s.io/api v0.18.0
k8s.io/apimachinery v0.18.0 k8s.io/apimachinery v0.18.0