Merge "Fix missing print format in log messages"

This commit is contained in:
Zuul 2020-05-21 16:45:49 +00:00 committed by Gerrit Code Review
commit 264ef947c3
2 changed files with 2 additions and 2 deletions

View File

@ -287,7 +287,7 @@ class VNFPackageURLInvalid(Invalid):
class VnfPackageLocationInvalid(Invalid):
message = _("Failed to find location: %(location)")
message = _("Failed to find location: %(location)s")
class InvalidZipFile(Invalid):

View File

@ -700,7 +700,7 @@ class OpenStack(abstract_driver.VnfAbstractDriver,
{'image_uuid': image_uuid, 'status': status})
return True
time.sleep(self.IMAGE_RETRY_WAIT)
LOG.debug('Image %(image_uuid)s status: %(status)',
LOG.debug('Image %(image_uuid)s status: %(status)s',
{"image_uuid": image_uuid, "status": status})
if retries == 0 and image.status != expected_status: