Skip to content

Commit

Permalink
[cloud-sql-proxy] allow for -dev string in bigtop repo directory name (
Browse files Browse the repository at this point in the history
  • Loading branch information
cjac authored Feb 18, 2025
1 parent 7e87522 commit 8980567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloud-sql-proxy/cloud-sql-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,8 @@ function clean_up_sources_lists() {

local regional_bigtop_repo_uri
regional_bigtop_repo_uri=$(cat ${dataproc_repo_file} |
sed "s#/dataproc-bigtop-repo/#/goog-dataproc-bigtop-repo-${region}/#" |
grep "deb .*goog-dataproc-bigtop-repo-${region}.* dataproc contrib" |
sed -E "s#/dataproc-bigtop-repo(-dev)?/#/goog-dataproc-bigtop-repo\\1-${region}/#" |
grep -E "deb .*goog-dataproc-bigtop-repo(-dev)?-${region}.* dataproc contrib" |
cut -d ' ' -f 2 |
head -1)

Expand Down

0 comments on commit 8980567

Please sign in to comment.