commit | 299344d6f3c31f94308a5f304b671c9ee0897243 | [log] [tgz] |
---|---|---|
author | Takashi Kajinami <tkajinam@redhat.com> | Mon Nov 29 15:56:14 2021 +0900 |
committer | Takashi Kajinami <tkajinam@redhat.com> | Mon Nov 29 18:22:12 2021 +0900 |
tree | 57ed4b559f53261c04198616d8065d64a6a2efd5 | |
parent | 273f9ae1dd78972e4c85fcdb7b7e61e88dee7701 [diff] [blame] |
Use LOG.warning instead of deprecated LOG.warn The LOG.warn method is deprecated[1] and the LOG.warning method should be used instead. [1] https://docs.python.org/3/library/logging.html#logging.warning Change-Id: Ifb8e1272f8d954250d141cfa09d08bbc554de994
diff --git a/designate_tempest_plugin/data_utils.py b/designate_tempest_plugin/data_utils.py index c9d3f6d..23e93a6 100644 --- a/designate_tempest_plugin/data_utils.py +++ b/designate_tempest_plugin/data_utils.py
@@ -96,8 +96,8 @@ 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