From aa11cc696966aced978e72cd1e265eab927c7bff Mon Sep 17 00:00:00 2001 From: Jordan Liggitt Date: Thu, 18 May 2023 17:41:13 -0400 Subject: [PATCH] Mark grpc-gateway v1 as an unwanted dependency --- hack/unwanted-dependencies.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hack/unwanted-dependencies.json b/hack/unwanted-dependencies.json index 1b7f33ef8e0..68fb83d112d 100644 --- a/hack/unwanted-dependencies.json +++ b/hack/unwanted-dependencies.json @@ -20,6 +20,7 @@ "github.com/gorilla/rpc": "unmaintained, archive mode", "github.com/gorilla/schema": "unmaintained, archive mode", "github.com/gorilla/websocket": "unmaintained, archive mode", + "github.com/grpc-ecosystem/grpc-gateway": "use github.com/grpc-ecosystem/grpc-gateway/v2", "github.com/hashicorp/consul": "MPL license not in CNCF allowlist", "github.com/hashicorp/errwrap": "MPL license not in CNCF allowlist", "github.com/hashicorp/go-immutable-radix": "MPL license not in CNCF allowlist", @@ -84,6 +85,10 @@ "github.com/tmc/grpc-websocket-proxy", "go.etcd.io/etcd/server/v3" ], + "github.com/grpc-ecosystem/grpc-gateway": [ + "go.etcd.io/etcd/api/v3", + "go.etcd.io/etcd/server/v3" + ], "github.com/json-iterator/go": [ "github.com/prometheus/client_golang", "go.etcd.io/etcd/client/v2",