chore(cli): template newly create variables

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2024-09-03 17:08:44 +02:00
parent c179b4f9b9
commit e7a0ca843f

View file

@ -157,7 +157,6 @@ spec:
- -c - -c
args: args:
- | - |
set -x
pg_version=$(psql -c "SHOW server_version;" | xargs | grep -oP '\d+(?=\.)') pg_version=$(psql -c "SHOW server_version;" | xargs | grep -oP '\d+(?=\.)')
if [[ $pg_version -le 14 ]]; then if [[ $pg_version -le 14 ]]; then
echo "[error] postgresql version is $pg_version which is <= 15. Exiting." echo "[error] postgresql version is $pg_version which is <= 15. Exiting."