Skip to content

Commit

Permalink
feat: filter out *gapic.legacy.yaml when parsing java_gapic_opts (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 authored Sep 20, 2023
1 parent 1f4aa27 commit 1ad5ec0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# this file is only used in testing `get_gapic_opts` in utilities.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# this file is only used in testing `get_gapic_opts` in utilities.sh
2 changes: 1 addition & 1 deletion library_generation/utilities.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ get_gapic_opts() {
gapic_config="gapic-config=${gapic_config},"
fi
grpc_service_config=$(find "${proto_path}" -type f -name "*service_config.json")
api_service_config=$(find "${proto_path}" -maxdepth 1 -type f \( -name "*.yaml" ! -name "*gapic.yaml" \))
api_service_config=$(find "${proto_path}" -maxdepth 1 -type f \( -name "*.yaml" ! -name "*gapic*.yaml" \))
if [ "${rest_numeric_enums}" == "true" ]; then
rest_numeric_enums="rest-numeric-enums,"
else
Expand Down

0 comments on commit 1ad5ec0

Please sign in to comment.