Skip to content

Commit 62bf8d7

Browse files
rads-1996emdneto
andauthored
Update util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py
Co-authored-by: Emídio Neto <[email protected]>
1 parent b626125 commit 62bf8d7

File tree

1 file changed

+1
-1
lines changed
  • util/opentelemetry-util-http/src/opentelemetry/util/http

1 file changed

+1
-1
lines changed

util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def parse_excluded_urls(excluded_urls: str) -> ExcludeList:
172172

173173

174174
def remove_url_credentials(url: str) -> str:
175-
"""Given a string url, replace the username and password with the keyword "REDACTED "only if it is a valid url"""
175+
"""Given a string url, replace the username and password with the keyword `REDACTED` only if it is a valid url"""
176176
try:
177177
parsed = urlparse(url)
178178
if all([parsed.scheme, parsed.netloc]): # checks for valid url

0 commit comments

Comments
 (0)