Replace LOG.warn with LOG.warning
logging.warn is deprecated in Python 3 [1]. [1] https://docs.python.org/3/library/logging.html#logging.warning Change-Id: I61218125ebf85b7951163360279645d7ad4d176c
This commit is contained in:
parent
16cea93444
commit
bf99d30f56
@ -196,7 +196,7 @@ for service in (json_data or []):
|
||||
configs[config_volume][2] = '%s\n%s' % (configs[config_volume][2],
|
||||
manifest)
|
||||
if configs[config_volume][3] != config_image:
|
||||
log.warn("Config containers do not match even though"
|
||||
log.warning("Config containers do not match even though"
|
||||
" shared volumes are the same!")
|
||||
else:
|
||||
if not config_volume_only or (config_volume_only == config_volume):
|
||||
|
Loading…
Reference in New Issue
Block a user