Skip to content

Commit 1ad5ec0

Browse files
authored
feat: filter out *gapic.legacy.yaml when parsing java_gapic_opts (#2015)
1 parent 1f4aa27 commit 1ad5ec0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# this file is only used in testing `get_gapic_opts` in utilities.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# this file is only used in testing `get_gapic_opts` in utilities.sh

library_generation/utilities.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ get_gapic_opts() {
5959
gapic_config="gapic-config=${gapic_config},"
6060
fi
6161
grpc_service_config=$(find "${proto_path}" -type f -name "*service_config.json")
62-
api_service_config=$(find "${proto_path}" -maxdepth 1 -type f \( -name "*.yaml" ! -name "*gapic.yaml" \))
62+
api_service_config=$(find "${proto_path}" -maxdepth 1 -type f \( -name "*.yaml" ! -name "*gapic*.yaml" \))
6363
if [ "${rest_numeric_enums}" == "true" ]; then
6464
rest_numeric_enums="rest-numeric-enums,"
6565
else

0 commit comments

Comments
 (0)