Fix isset command not found (#14997)

This commit is contained in:
Shrikant Sharat Kandula 2022-07-25 07:42:48 +05:30 committed by GitHub
parent 0f92b97226
commit dd46348981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,9 @@ if [[ ${HTTPS_PROXY-} =~ ^https?://(.*):(.*)$ && ${BASH_REMATCH[2]} != 0 ]]; the
proxy_configured=1
fi
if ! isset NO_PROXY; then
if [[ -z "${NO_PROXY-}" ]]; then
# A default for this value is set in entrypoint.sh script.
# If this variable is not set, just set it to empty string.
NO_PROXY=""
fi