You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 07:41:16 +03:00
opentelemetry: no_log:true causes exception when generating trace (#4043)
* dont check for urls when args is None * add changelog fragment * fix lint on changelog fragment Co-authored-by: Nick Gregory <nick.gregory@openenterprise.co.uk>
This commit is contained in:
@ -321,7 +321,7 @@ class OpenTelemetrySource(object):
|
||||
# the order matters
|
||||
url_args = ("url", "api_url", "baseurl", "repo", "server_url", "chart_repo_url")
|
||||
for arg in url_args:
|
||||
if args.get(arg):
|
||||
if args is not None and args.get(arg):
|
||||
return args.get(arg)
|
||||
return ""
|
||||
|
||||
|
Reference in New Issue
Block a user