Merge "Use LOG.warning instead of deprecated LOG.warn"
This commit is contained in:
commit
1665c0dcd1
|
@ -96,8 +96,8 @@ def rand_quotas(zones=None, zone_records=None, zone_recordsets=None,
|
|||
quotas_dict['api_export_size'] = \
|
||||
api_export_size or data_utils.rand_int_id(100, 999999)
|
||||
else:
|
||||
LOG.warn("Leaving `api_export_size` out of quota data due to: "
|
||||
"https://bugs.launchpad.net/designate/+bug/1573141")
|
||||
LOG.warning("Leaving `api_export_size` out of quota data due to: "
|
||||
"https://bugs.launchpad.net/designate/+bug/1573141")
|
||||
|
||||
return quotas_dict
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ class DnsClientBase(rest_client.RestClient):
|
|||
"received not-int read_code %(read_code)r" %
|
||||
{'expected_code': expected_code,
|
||||
'read_code': read_code})
|
||||
LOG.warn(message)
|
||||
LOG.warning(message)
|
||||
return super(DnsClientBase, cls).expected_success(
|
||||
expected_code=expected_code, read_code=int(read_code),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue