File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
for arg in " $@ " ; do
10
10
shift
11
11
case " $arg " in
12
- " --delete-everything-older-than-5-hours " ) set -- " $@ " " -f" ;;
12
+ " --no-dry-run " ) set -- " $@ " " -f" ;;
13
13
* ) set -- " $@ " " $arg "
14
14
esac
15
15
done
@@ -27,7 +27,7 @@ while getopts :o:f opt; do
27
27
done
28
28
29
29
if [ $DELETE != 1 ]; then
30
- echo " Refusing to run unless passing the --delete-everything-older-than-5-hours option"
30
+ echo " Refusing to run unless passing the --no-dry-run option"
31
31
exit 5
32
32
fi
33
33
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ print_cluster_id() {
34
34
esac
35
35
}
36
36
37
- VALID_LIMIT=" $( date --date=' -5 hours' +%s) "
37
+ VALID_LIMIT=" $( date --date=' -7 hours' +%s) "
38
38
readonly VALID_LIMIT
39
39
40
40
declare filter=' '
Original file line number Diff line number Diff line change 61
61
declare -r resource_type=" $* "
62
62
63
63
declare valid_limit
64
- valid_limit=" $( date --date=' -5 hours' +%s) "
64
+ valid_limit=" $( date --date=' -7 hours' +%s) "
65
65
readonly valid_limit
66
66
67
67
list_server () {
You can’t perform that action at this time.
0 commit comments