Skip to content

Commit 3c1a623

Browse files
committed
revert milvus change
Signed-off-by: Lacewell, Chaunte W <chaunte.w.lacewell@intel.com>
1 parent a3bc149 commit 3c1a623

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dataprep/dataprep_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function call_curl() {
1010
local url=$1
1111
local header=$2
1212
shift 2
13-
HTTP_RESPONSE=$(http_proxy="" curl --silent --write-out "HTTPSTATUS:%{http_code}" -H "$header" "${url}" $@)
13+
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -H "$header" "${url}" $@)
1414
HTTP_STATUS=$(echo $HTTP_RESPONSE | tr -d '\n' | sed -e 's/.*HTTPSTATUS://')
1515
RESPONSE_BODY=$(echo $HTTP_RESPONSE | sed -e 's/HTTPSTATUS\:.*//g')
1616
}
@@ -34,7 +34,7 @@ function _invoke_curl() {
3434
;;
3535
esac
3636

37-
HTTP_RESPONSE=$(http_proxy="" curl --silent --write-out "HTTPSTATUS:%{http_code}" -X POST -H "$header" "${url}" $@)
37+
HTTP_RESPONSE=$(curl --silent --write-out "HTTPSTATUS:%{http_code}" -X POST -H "$header" "${url}" $@)
3838
HTTP_STATUS=$(echo $HTTP_RESPONSE | tr -d '\n' | sed -e 's/.*HTTPSTATUS://')
3939
RESPONSE_BODY=$(echo $HTTP_RESPONSE | sed -e 's/HTTPSTATUS\:.*//g')
4040
}

0 commit comments

Comments
 (0)