test
This commit is contained in:
parent
7c9cf23664
commit
7ad86534f0
@ -33,7 +33,7 @@ deleteBackup(){
|
|||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
clear -x && echo "pulling all restore points.."
|
clear -x && echo "pulling all restore points.."
|
||||||
list_backups=$(cli -c 'app kubernetes list_backups' | sort -t '_' -Vr -k2,7 | tr -d " \t\r" | awk -F '|' '{print $2}' | nl -s \) | column -t)
|
list_backups=$(cli -c 'app kubernetes list_backups' | sort -t '_' -Vr -k2,7 | tr -d " \t\r" | awk -F '|' '{print $2}' | nl -s ") " | column -t)
|
||||||
clear -x
|
clear -x
|
||||||
if [[ -z "$list_backups" ]]; then
|
if [[ -z "$list_backups" ]]; then
|
||||||
echo "No restore points available"
|
echo "No restore points available"
|
||||||
|
Loading…
Reference in New Issue
Block a user