Skip to content

Commit 99b8e7d

Browse files
committed
update configuration.py - rerunning instert_proxy_config.sh on v33.1.0
1 parent 7e0a769 commit 99b8e7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kubernetes/client/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,17 @@ def __init__(self, host="http://localhost",
159159
"""
160160

161161
self.proxy = None
162+
"""Proxy URL
163+
"""
164+
self.no_proxy = None
162165
# Load proxy from environment variables (if set)
163166
if os.getenv("HTTPS_PROXY"): self.proxy = os.getenv("HTTPS_PROXY")
164167
if os.getenv("https_proxy"): self.proxy = os.getenv("https_proxy")
165168
if os.getenv("HTTP_PROXY"): self.proxy = os.getenv("HTTP_PROXY")
166169
if os.getenv("http_proxy"): self.proxy = os.getenv("http_proxy")
167-
self.no_proxy = None
168170
# Load no_proxy from environment variables (if set)
169171
if os.getenv("NO_PROXY"): self.no_proxy = os.getenv("NO_PROXY")
170172
if os.getenv("no_proxy"): self.no_proxy = os.getenv("no_proxy")
171-
"""Proxy URL
172-
"""
173173
"""bypass proxy for host in the no_proxy list.
174174
"""
175175
self.proxy_headers = None

0 commit comments

Comments
 (0)