Replace deprecated LOG.warn with LOG.warning

LOG.warn is deprecated. It is still used in a few places.
This replaces it with the non-deprecated LOG.warning.

Change-Id: I7ed615a24dcb4eff919d747d8f30625d6d4db0ee
Partial-Bug:#1508442
This commit is contained in:
Tin Lam 2016-02-14 16:29:42 -06:00
parent b30fad9965
commit a36b42afef
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class HTTPClient(object):
self.log_http_response(resp)
if 400 <= resp.status < 600:
LOG.warn(_LW("Request returned failure status."))
LOG.warning(_LW("Request returned failure status."))
error_json = _extract_error_json(body_str)
raise exc.from_response(
resp, error_json.get('faultstring'),