Merge "Register opts if we're going to check conf.transport_url in parse()"
This commit is contained in:
commit
9efdc374e8
@ -395,6 +395,8 @@ class TransportURL(object):
|
||||
:returns: A TransportURL
|
||||
"""
|
||||
|
||||
if not url:
|
||||
conf.register_opts(_transport_opts)
|
||||
url = url or conf.transport_url
|
||||
if not url:
|
||||
return cls(conf, aliases=aliases)
|
||||
|
Loading…
x
Reference in New Issue
Block a user