Skip to content

Commit

Permalink
chore!(mysql): update bucket for anonymous data
Browse files Browse the repository at this point in the history
  • Loading branch information
hugotiburtino committed Aug 5, 2024
1 parent b111e6b commit 599bd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mysql/import-anonymous-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

tmp_dir="/tmp"

latest_dump=$(gsutil ls -l gs://anonymous-data | grep dump | sort -rk 2 | head -n 1 | awk '{ print $3 }' | tr -d '\n')
latest_dump=$(gsutil ls -l gs://anonymous-dump | grep dump | sort -rk 2 | head -n 1 | awk '{ print $3 }' | tr -d '\n')

if [ -z "$latest_dump" ]; then
echo "❌ Could not fetch latest dump, check your gsutil setup"
Expand Down

0 comments on commit 599bd95

Please sign in to comment.