Skip to content

Commit

Permalink
fix: [bazel] fix rest transport handling in assembly rule (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored Sep 7, 2021
1 parent 445daf4 commit 92f7c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules_java_gapic/java_gapic_pkg.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def java_gapic_assembly_gradle_pkg(
grpc_target_dep = ["%s" % grpc_target]

if client_deps:
if not transport or transport == "rest":
if not transport or transport == "grpc":
template_label = Label("//rules_java_gapic:resources/gradle/client_grpc.gradle.tmpl")
elif transport == "rest":
template_label = Label("//rules_java_gapic:resources/gradle/client_rest.gradle.tmpl")
Expand Down

0 comments on commit 92f7c1c

Please sign in to comment.