From 5db4f0f2932f42dbdc688f6622b658737ab86623 Mon Sep 17 00:00:00 2001 From: gitea-bot Date: Thu, 18 Dec 2025 01:53:31 +0000 Subject: [PATCH] chore: Update manifests after change --- .../manifests/qbittorrent/ConfigMap-glutun-update-script.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml b/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml index 7a1061922..674a4bdbf 100644 --- a/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml +++ b/clusters/cl01tl/manifests/qbittorrent/ConfigMap-glutun-update-script.yaml @@ -66,7 +66,7 @@ data: echo " "; echo ">> Updating port with ${1} ..."; - curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences"; + HTTP_STATUS=$(curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences"); if [ "$HTTP_STATUS" == "200" ]; then echo ">> Port set" @@ -82,7 +82,7 @@ data: echo " "; echo ">> Qbittorrent's post is now:"; - curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences"; + HTTP_STATUS=$(curl -i -X GET --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_check.json "${API_ENDPOINT}/app/preferences"); LISTEN_PORT=$(cat response_body_check.json | jq -r .listen_port) -- 2.49.1