Skip to content

Commit 6e79e73

Browse files
Google APIscopybara-github
authored andcommitted
fix: upgrade gRPC service registration func
An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in googleapis/google-cloud-go#11025. PiperOrigin-RevId: 815912123
1 parent a53e1e0 commit 6e79e73

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

google/shopping/merchant/products/v1beta/BUILD.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,11 @@ load(
125125
"@com_google_googleapis_imports//:imports.bzl",
126126
"go_gapic_assembly_pkg",
127127
"go_gapic_library",
128-
"go_proto_library",
128+
"go_grpc_library",
129129
)
130130

131-
go_proto_library(
131+
go_grpc_library(
132132
name = "products_go_proto",
133-
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
134133
importpath = "cloud.google.com/go/shopping/merchant/products/apiv1beta/productspb",
135134
protos = [":products_proto"],
136135
deps = [

0 commit comments

Comments
 (0)