Skip to content

Commit 7e0a769

Browse files
authored
Fix no_proxy reset in configuration.py
This commit removes the redundant assignment to `None`, ensuring that the `no_proxy` environment variable is preserved and proxy bypass settings are applied as expected.
1 parent 5f6cdb2 commit 7e0a769

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kubernetes/client/configuration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ def __init__(self, host="http://localhost",
170170
if os.getenv("no_proxy"): self.no_proxy = os.getenv("no_proxy")
171171
"""Proxy URL
172172
"""
173-
self.no_proxy = None
174173
"""bypass proxy for host in the no_proxy list.
175174
"""
176175
self.proxy_headers = None

0 commit comments

Comments
 (0)