Browse Source

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
tags/6.0.0.0b2
Swapnil Kulkarni (coolsvap) 3 years ago
parent
commit
994b1e4a81
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      heat/common/context.py

+ 1
- 1
heat/common/context.py View File

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

Loading…
Cancel
Save