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,7 +116,7 @@ def register_keystoneauth_opts(conf):
|
|||||||
|
|
||||||
def setup_keystoneauth(conf):
|
def setup_keystoneauth(conf):
|
||||||
if conf[CFG_GROUP].auth_type == "password-vitrage-legacy":
|
if conf[CFG_GROUP].auth_type == "password-vitrage-legacy":
|
||||||
LOG.warn("Value 'password-vitrage-legacy' for '[%s]/auth_type' "
|
LOG.warning("Value 'password-vitrage-legacy' for '[%s]/auth_type' "
|
||||||
"is deprecated. And will be removed in Vitrage 2.0. "
|
"is deprecated. And will be removed in Vitrage 2.0. "
|
||||||
"Use 'password' instead.",
|
"Use 'password' instead.",
|
||||||
CFG_GROUP)
|
CFG_GROUP)
|
||||||
|
Loading…
Reference in New Issue
Block a user