TrivialFix: Change LOG.warn to LOG.warning
logging.warn is deprecated in Python 3. https://docs.python.org/3/library/logging.html#logging.warning Change-Id: I702460a4535eab6ee6719a06f60c6f47daa3b199
This commit is contained in:
parent
e7f62b11ef
commit
c2bf4615c7
@ -79,7 +79,7 @@ class AuthClientLoader(object):
|
||||
CONF, self.group)
|
||||
|
||||
if self.deprecated_opts_for_v2 and not self.auth_plugin:
|
||||
LOG.warn(_LW("Not specifying auth options is deprecated"))
|
||||
LOG.warning(_LW("Not specifying auth options is deprecated"))
|
||||
self.auth_plugin = v2.Password().load_from_options(
|
||||
**self.deprecated_opts_for_v2)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user