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: I455bb6662b3ccc36b856e923e7220e357e8ef48f
This commit is contained in:
parent
431611d45e
commit
95df1344e7
@ -14,7 +14,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Keystone
|
||||
name: keystone
|
||||
version: 0.2.26
|
||||
version: 0.2.27
|
||||
home: https://docs.openstack.org/keystone/latest/
|
||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Keystone/OpenStack_Project_Keystone_vertical.png
|
||||
sources:
|
||||
|
@ -88,7 +88,7 @@ def read_from_files():
|
||||
if len(list(keys)):
|
||||
LOG.debug("Keys read from files: %s", keys)
|
||||
else:
|
||||
LOG.warn("No keys were read from files.")
|
||||
LOG.warning("No keys were read from files.")
|
||||
return data
|
||||
|
||||
|
||||
|
@ -42,4 +42,5 @@ keystone:
|
||||
- 0.2.24 Remove unused admin port in keystone
|
||||
- 0.2.25 Migrated CronJob resource to batch/v1 API version & PodDisruptionBudget to policy/v1
|
||||
- 0.2.26 Add Xena and Yoga values overrides
|
||||
- 0.2.27 Use LOG.warning instead of deprecated LOG.warn
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user