Merge "Use LOG.warning instead of deprecated LOG.warn"

This commit is contained in:
Zuul 2022-05-09 00:19:25 +00:00 committed by Gerrit Code Review
commit ae75ae3e28
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ class RestoreOs(object):
except Exception as e:
LOG.exception(e)
if volume.status != "error":
LOG.warn("Exception getting volume status")
LOG.warning("Exception getting volume status")
LOG.info("Deleting temporary image {}".format(image.id))
self.client_manager.get_glance().images.delete(image.id)