Replace deprecated LOG.warn with LOG.warning

LOG.warn is deprecated. It still used in a few places.
Updated to non-deprecated LOG.warning.

Change-Id: I86e13b88c766cc75034faaff61f1873bf86e1b36
Closes-Bug:#1508442
This commit is contained in:
Swapnil Kulkarni (coolsvap) 2016-01-05 12:31:53 +05:30
parent 8e818e8823
commit 994b1e4a81
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ class RequestContext(context.RequestContext):
cfg.CONF, TRUSTEE_CONF_GROUP, trust_id=self.trust_id) cfg.CONF, TRUSTEE_CONF_GROUP, trust_id=self.trust_id)
if self._trusts_auth_plugin: if self._trusts_auth_plugin:
LOG.warn(_LW('SHDEBUG NOT Using the keystone_authtoken')) LOG.warning(_LW('SHDEBUG NOT Using the keystone_authtoken'))
return self._trusts_auth_plugin return self._trusts_auth_plugin
LOG.warning(_LW('Using the keystone_authtoken user as the heat ' LOG.warning(_LW('Using the keystone_authtoken user as the heat '