Replace deprecated LOG.warn with LOG.warning
LOG.warn is deprecated. This patch updates it to use the non-deprecated LOG.warning instead. Change-Id: I8c0277e95009faf19884b2bb14dcb9171f58a0be Closes-Bug: #1578506
This commit is contained in:
parent
c0f87a3a45
commit
e1ed848b78
@ -116,10 +116,10 @@ def register_keystoneauth_opts(conf):
|
||||
|
||||
def setup_keystoneauth(conf):
|
||||
if conf[CFG_GROUP].auth_type == "password-vitrage-legacy":
|
||||
LOG.warn("Value 'password-vitrage-legacy' for '[%s]/auth_type' "
|
||||
"is deprecated. And will be removed in Vitrage 2.0. "
|
||||
"Use 'password' instead.",
|
||||
CFG_GROUP)
|
||||
LOG.warning("Value 'password-vitrage-legacy' for '[%s]/auth_type' "
|
||||
"is deprecated. And will be removed in Vitrage 2.0. "
|
||||
"Use 'password' instead.",
|
||||
CFG_GROUP)
|
||||
ka_loading.load_auth_from_conf_options(conf, CFG_GROUP)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user