Correct syntax to ensure only the one file is deleted

This commit is contained in:
JosephPi-msft
2019-08-19 19:40:43 -05:00
committed by GitHub
parent bf9bb6f152
commit f14d7852b2
@@ -97,7 +97,7 @@ $DEBUG sqlcmd -S $SQL_MASTER_INSTANCE -Usa -P$SQL_MASTER_SA_PASSWORD -I -b -i "$
# remove files copied into the pod:
echo Removing database backup files...
$DEBUG kubectl exec $MASTER_POD_NAME -n $CLUSTER_NAMESPACE -c mssql-server -i -t -- bash -c "rm -rvf /var/opt/mssql/data/*.bak"
$DEBUG kubectl exec $MASTER_POD_NAME -n $CLUSTER_NAMESPACE -c mssql-server -i -t -- bash -c "rm -rvf /var/opt/mssql/data/tpcxbb_1gb.bak"
for table in web_clickstreams inventory customer
do