Skip to content

Commit 42017d3

Browse files
committed
fix: enable logging for proxy configuration in GoogleCloudConnector
1 parent 4032b14 commit 42017d3

File tree

1 file changed

+3
-3
lines changed
  • src/spaceone/monitoring/connector/google_cloud_connector

1 file changed

+3
-3
lines changed

src/spaceone/monitoring/connector/google_cloud_connector/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ def _create_http_client(self):
8282
https_proxy = os.environ.get("HTTPS_PROXY") or os.environ.get("https_proxy")
8383

8484
if https_proxy:
85-
# _LOGGER.info(
86-
# f"** Using proxy in environment variable HTTPS_PROXY/https_proxy: {https_proxy}"
87-
# ) # TOO MANY LOGGING
85+
_LOGGER.info(
86+
f"** Using proxy in environment variable HTTPS_PROXY/https_proxy: {https_proxy}"
87+
)
8888
try:
8989
proxy_url = https_proxy.replace("http://", "").replace("https://", "")
9090
if ":" in proxy_url:

0 commit comments

Comments
 (0)