Skip to content

Commit 51da61e

Browse files
authored
better error client when proxy has conflict (#2305)
1 parent 62852f4 commit 51da61e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocp_resources/resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def get_client(
126126
if client_configuration.proxy and client_configuration.proxy != proxy:
127127
raise ValueError(
128128
f"Conflicting proxy settings: client_configuration.proxy={client_configuration.proxy}, "
129-
f"but the environment variable 'OPENSHIFT_PYTHON_WRAPPER_CLIENT_USE_PROXY' defines proxy as {proxy}."
129+
f"but the environment variable 'HTTPS_PROXY/HTTP_PROXY' defines proxy as {proxy}."
130130
)
131131
client_configuration.proxy = proxy
132132

0 commit comments

Comments
 (0)