Skip to content

Commit 4402456

Browse files
committed
format changes to setup_broker.sh
1 parent b0dc024 commit 4402456

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

broker/setup_broker/lvk/setup_broker.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ if [ "${teardown}" != "True" ]; then
5858
# create bigquery dataset and table
5959
bq --location="${region}" mk --dataset "${bq_dataset}"
6060

61-
cd templates && bq mk --table "${PROJECT_ID}:${bq_dataset}.${alerts_table}" "bq_${survey}_${alerts_table}_schema.json" || exit 5
61+
cd templates
62+
bq mk --table "${PROJECT_ID}:${bq_dataset}.${alerts_table}" "bq_${survey}_${alerts_table}_schema.json" || exit 5
6263
cd .. || exit 5
6364

6465
# create broker bucket and upload files
@@ -99,7 +100,7 @@ echo "Configuring Cloud Functions..."
99100
cd .. && cd .. && cd cloud_functions && cd lvk || exit 5
100101

101102
#--- BigQuery storage cloud function
102-
cd store_BigQuery && ./deploy.sh "$testid" "$teardown" "$survey" "$versiontag"|| exit 5
103+
cd store_BigQuery && ./deploy.sh "$testid" "$teardown" "$survey" "$versiontag" || exit 5
103104

104105
#--- return to setup_broker/lvk directory
105106
cd .. && cd .. && cd .. && cd setup_broker && cd lvk || exit 5

0 commit comments

Comments
 (0)