From dc06fdb71bd9ba3d10153404585de0fba484ebed Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Wed, 6 Sep 2023 11:26:23 +0200 Subject: [PATCH] remove unneeded lines --- check_http | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/check_http b/check_http index 81a1c79..ea797ea 100755 --- a/check_http +++ b/check_http @@ -103,7 +103,7 @@ ph.require "curl" sUrl=$( ph.getValueWithParam '' u "$@") sMethod=$( ph.getValueWithParam 'GET' m "$@" | tr [:lower:] [:upper:]) -curlParams=$( ph.getValueWithParam '' c "$@") +curlParams=$( ph.getValueWithParam '' c "$@") iStatus=$( ph.getValueWithParam '' s "$@") sHeader=$( ph.getValueWithParam '' r "$@") @@ -112,11 +112,7 @@ sNotInBody=$( ph.getValueWithParam '' n "$@") sJq=$( ph.getValueWithParam '' j "$@") sLabel=$( ph.getValueWithParam "" l "$@") - curlParams+=" -si -X $sMethod" - -# echo "Url is $sUrl" - sProblems= sOK= -- GitLab