summaryrefslogtreecommitdiff
path: root/gate
diff options
context:
space:
mode:
authormelanie witt <melwittt@gmail.com>2019-08-28 05:10:51 +0000
committermelanie witt <melwittt@gmail.com>2019-08-28 05:14:18 +0000
commitf5c2430876d57908936aa7e5ab3bb5a5cb97c296 (patch)
tree51e4d04344dd5980a27488de57e041a556ee1258 /gate
parent1c9de9c7779b1faf9d9542b3e5bd20da70067365 (diff)
downloadnova-f5c2430876d57908936aa7e5ab3bb5a5cb97c296.tar.gz
Remove unused args from archive_deleted_rows calls
As of commit 1c9de9c7779b1faf9d9542b3e5bd20da70067365, we no longer pass any args to the archive_deleted_rows function, so we can remove the argument list from the function. Change-Id: I73b2f716908088b137102631f9360939a1d7341a
Diffstat (limited to 'gate')
-rwxr-xr-xgate/post_test_hook.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/gate/post_test_hook.sh b/gate/post_test_hook.sh
index eeab72115c..f51b181f10 100755
--- a/gate/post_test_hook.sh
+++ b/gate/post_test_hook.sh
@@ -5,7 +5,7 @@ MANAGE="/usr/local/bin/nova-manage"
function archive_deleted_rows {
# NOTE(danms): Run this a few times to make sure that we end
# up with nothing more to archive
- if ! $MANAGE $* db archive_deleted_rows --verbose --before "$(date -d yesterday)" 2>&1 | grep 'Nothing was archived'; then
+ if ! $MANAGE db archive_deleted_rows --verbose --before "$(date -d yesterday)" 2>&1 | grep 'Nothing was archived'; then
echo "Archiving yesterday data should have done nothing"
return 1
fi
@@ -14,9 +14,9 @@ function archive_deleted_rows {
# This is just a test wrinkle to make sure we're covering the
# non-all-cells (cell0) case, as we're not passing in the cell1
# config.
- $MANAGE $* db archive_deleted_rows --verbose --max_rows 50 --before "$(date -d tomorrow)"
+ $MANAGE db archive_deleted_rows --verbose --max_rows 50 --before "$(date -d tomorrow)"
else
- $MANAGE $* db archive_deleted_rows --verbose --max_rows 1000 --before "$(date -d tomorrow)" --all-cells
+ $MANAGE db archive_deleted_rows --verbose --max_rows 1000 --before "$(date -d tomorrow)" --all-cells
fi
RET=$?
if [[ $RET -gt 1 ]]; then