Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Updated test of info-types
[nonrtric.git]
/
test
/
common
/
api_curl.sh
diff --git
a/test/common/api_curl.sh
b/test/common/api_curl.sh
index
4ebac80
..
615ccab
100644
(file)
--- a/
test/common/api_curl.sh
+++ b/
test/common/api_curl.sh
@@
-31,7
+31,11
@@
__do_curl_to_api() {
proxyflag=""
if [ $RUNMODE == "KUBE" ]; then
if [ ! -z "$KUBE_PROXY_PATH" ]; then
proxyflag=""
if [ $RUNMODE == "KUBE" ]; then
if [ ! -z "$KUBE_PROXY_PATH" ]; then
- proxyflag=" --proxy $KUBE_PROXY_PATH"
+ if [ $KUBE_PROXY_HTTPX == "http" ]; then
+ proxyflag=" --proxy $KUBE_PROXY_PATH"
+ else
+ proxyflag=" --proxy-insecure --proxy $KUBE_PROXY_PATH"
+ fi
fi
fi
paramError=0
fi
fi
paramError=0