Skip to content

Commit f5c2430

Browse files
committed
Remove unused args from archive_deleted_rows calls
As of commit 1c9de9c, 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
1 parent 1c9de9c commit f5c2430

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gate/post_test_hook.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MANAGE="/usr/local/bin/nova-manage"
55
function archive_deleted_rows {
66
# NOTE(danms): Run this a few times to make sure that we end
77
# up with nothing more to archive
8-
if ! $MANAGE $* db archive_deleted_rows --verbose --before "$(date -d yesterday)" 2>&1 | grep 'Nothing was archived'; then
8+
if ! $MANAGE db archive_deleted_rows --verbose --before "$(date -d yesterday)" 2>&1 | grep 'Nothing was archived'; then
99
echo "Archiving yesterday data should have done nothing"
1010
return 1
1111
fi
@@ -14,9 +14,9 @@ function archive_deleted_rows {
1414
# This is just a test wrinkle to make sure we're covering the
1515
# non-all-cells (cell0) case, as we're not passing in the cell1
1616
# config.
17-
$MANAGE $* db archive_deleted_rows --verbose --max_rows 50 --before "$(date -d tomorrow)"
17+
$MANAGE db archive_deleted_rows --verbose --max_rows 50 --before "$(date -d tomorrow)"
1818
else
19-
$MANAGE $* db archive_deleted_rows --verbose --max_rows 1000 --before "$(date -d tomorrow)" --all-cells
19+
$MANAGE db archive_deleted_rows --verbose --max_rows 1000 --before "$(date -d tomorrow)" --all-cells
2020
fi
2121
RET=$?
2222
if [[ $RET -gt 1 ]]; then

0 commit comments

Comments
 (0)