Skip to content

Commit d1d7566

Browse files
committed
Fix incorrect proto args attribute names.
1 parent 53be8cc commit d1d7566

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

bzl/go/rules.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ SPEC = [GO]
66

77
go_proto_compile = implement(SPEC)
88

9-
def go_proto_library(name, go_import_map = {}, proto_args = {}, **kwargs):
9+
def go_proto_library(name, go_import_map = {}, proto_compile_args = {}, **kwargs):
1010
proto_library(name,
1111
proto_compile = go_proto_compile,
12-
proto_args = {
12+
proto_compile_args = {
1313
"go_import_map": go_import_map,
14-
} + proto_args,
14+
} + proto_compile_args,
1515
spec = SPEC,
1616
**kwargs)

bzl/grpc_gateway/rules.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def grpc_gateway_proto_library(
1616
logtostderr = True,
1717
log_dir = None,
1818
log_level = None,
19+
proto_compile_args = {},
1920
verbose = 0,
2021
**kwargs):
2122

@@ -32,7 +33,7 @@ def grpc_gateway_proto_library(
3233

3334
proto_library(name,
3435
proto_compile = grpc_gateway_proto_compile,
35-
proto_compile_args = args,
36+
proto_compile_args = args + proto_compile_args,
3637
verbose = verbose,
3738
spec = SPEC,
3839
**kwargs)

0 commit comments

Comments
 (0)