remove un-needed indentation
This commit is contained in:
parent
45127be73a
commit
c89b217943
@ -192,8 +192,8 @@ mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_availabl
|
||||
[[ -z $array ]] && echo -e "\nThere are no updates available" && return 0 || echo -e "\n${#array[@]} update(s) available"
|
||||
[[ -z $timeout ]] && echo -e "\nDefault Timeout: 500" && timeout=500 || echo -e "\nCustom Timeout: $timeout"
|
||||
[[ "$timeout" -le 120 ]] && echo "Warning: Your timeout is set low and may lead to premature rollbacks or skips"
|
||||
for i in "${array[@]}"
|
||||
do
|
||||
for i in "${array[@]}"
|
||||
do
|
||||
app_name=$(echo "$i" | awk -F ',' '{print $1}') #print out first catagory, name.
|
||||
old_app_ver=$(echo "$i" | awk -F ',' '{print $4}' | awk -F '_' '{print $1}' | awk -F '.' '{print $1}') #previous/current Application MAJOR Version
|
||||
new_app_ver=$(echo "$i" | awk -F ',' '{print $5}' | awk -F '_' '{print $1}' | awk -F '.' '{print $1}') #new Application MAJOR Version
|
||||
@ -245,7 +245,7 @@ mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_availabl
|
||||
echo -e "\n$app_name\nMajor Release, update manually"
|
||||
continue
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
export -f update_apps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user