From 49610d95dce511677fad0fed815157252e36c0b4 Mon Sep 17 00:00:00 2001 From: Benjamin Wang Date: Tue, 22 Aug 2023 14:22:17 +0100 Subject: [PATCH] Update etcdserver to import grpc-gateway/v2 instead of v1 Signed-off-by: Benjamin Wang --- server/embed/serve.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/embed/serve.go b/server/embed/serve.go index af9f9fdacbb7..85cd41989b93 100644 --- a/server/embed/serve.go +++ b/server/embed/serve.go @@ -39,7 +39,7 @@ import ( v3lockgw "go.etcd.io/etcd/server/v3/etcdserver/api/v3lock/v3lockpb/gw" "go.etcd.io/etcd/server/v3/etcdserver/api/v3rpc" - gw "github.com/grpc-ecosystem/grpc-gateway/runtime" + gw "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/soheilhy/cmux" "github.com/tmc/grpc-websocket-proxy/wsproxy" "go.uber.org/zap"