summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass/cass_init/pull.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-10-08 15:49:00 -0500
committerInstrumental <jonathan.gathman@att.com>2018-10-08 15:49:10 -0500
commitc8dbe98a4540d37e9fd4b2e8fc1191adf5a525c0 (patch)
tree3c36b25ee07bdc984466b76a12c92d754c01b267 /auth/auth-cass/cass_init/pull.sh
parent9c74970c58c647c93caf2c7fb85cacb6602a7292 (diff)
fix push/pull
Issue-ID: AAF-543 Change-Id: Iaf2956866befcf0b1229c2146ebf138b3aa78513 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-cass/cass_init/pull.sh')
-rw-r--r--auth/auth-cass/cass_init/pull.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth-cass/cass_init/pull.sh b/auth/auth-cass/cass_init/pull.sh
index 94695ed1..b25099f8 100644
--- a/auth/auth-cass/cass_init/pull.sh
+++ b/auth/auth-cass/cass_init/pull.sh
@@ -8,7 +8,7 @@ mkdir -p dats
cd dats
TABLES="$(cqlsh -e "use authz; describe tables")"
for T in $TABLES ; do
- cqlsh -e "use authz; COPY $T TO '$T.dat' WITH DELIMITER='|';"
+ cqlsh -e "COPY authz.$T TO '$T.dat' WITH DELIMITER='|';"
done
cd $DIR
tar -cvzf dat.gz dats/*.dat