File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ MANAGE="/usr/local/bin/nova-manage"
5
5
function archive_deleted_rows {
6
6
# NOTE(danms): Run this a few times to make sure that we end
7
7
# 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
9
9
echo " Archiving yesterday data should have done nothing"
10
10
return 1
11
11
fi
@@ -14,9 +14,9 @@ function archive_deleted_rows {
14
14
# This is just a test wrinkle to make sure we're covering the
15
15
# non-all-cells (cell0) case, as we're not passing in the cell1
16
16
# 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) "
18
18
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
20
20
fi
21
21
RET=$?
22
22
if [[ $RET -gt 1 ]]; then
You can’t perform that action at this time.
0 commit comments