diff --git a/watcherclient/common/http.py b/watcherclient/common/http.py index 02b2800..871ccf2 100644 --- a/watcherclient/common/http.py +++ b/watcherclient/common/http.py @@ -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'),