From fcdb322d2f3f1dc616d5c79bda7909a335eba53f Mon Sep 17 00:00:00 2001 From: squidbear <379651+czarly@users.noreply.github.com> Date: Tue, 1 Apr 2025 07:54:24 +0200 Subject: [PATCH] fix --- upstreams.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upstreams.sh b/upstreams.sh index ee31d8e9..e840aa12 100755 --- a/upstreams.sh +++ b/upstreams.sh @@ -94,10 +94,10 @@ for part in "${parts[@]}"; do # Run envsubst to replace environment variables in the input file and save the result to the output file if yaml2json < "$BASEPATH/$part" | jq -e '.upstreams' >/dev/null 2>&1; then - echo "upstreams key exists in $part" + #echo "upstreams key exists in $part" upstreams+=("$(yaml2json < "$BASEPATH/$part" | jq '.upstreams' | json2yaml | sed 's/^/ /' | envsubst)") else - echo "upstreams config $input_file for $part" + #echo "upstreams config $input_file for $part" upstreams+=("$(envsubst < "$input_file")") fi