Skip to content

Commit 253d030

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove unused args from archive_deleted_rows calls"
2 parents 5364b26 + f5c2430 commit 253d030

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)