Skip to content

Commit f970e6c

Browse files
Google APIscopybara-github
authored andcommitted
fix: Upgrade Go gRPC Protobuf generation
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: 725216379
1 parent f6c7117 commit f970e6c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

google/cloud/secretmanager/v1/BUILD.bazel

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,11 @@ load(
118118
"@com_google_googleapis_imports//:imports.bzl",
119119
"go_gapic_assembly_pkg",
120120
"go_gapic_library",
121-
"go_proto_library",
121+
"go_grpc_library",
122122
)
123123

124-
go_proto_library(
124+
go_grpc_library(
125125
name = "secretmanager_go_proto",
126-
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
127126
importpath = "cloud.google.com/go/secretmanager/apiv1/secretmanagerpb",
128127
protos = [":secretmanager_proto"],
129128
deps = [

0 commit comments

Comments
 (0)