From 2fd877310cbf8395d0f26c4babf0f65ffc09bdfe Mon Sep 17 00:00:00 2001 From: zhufl Date: Fri, 3 Jan 2020 17:09:21 +0800 Subject: [PATCH] Add missing parameter vdi_uuid in log message This is to add missing parameter vdi_uuid in the log message. Change-Id: If5a2e4245586c54cf575508ab2a5269bd205cb66 --- nova/virt/xenapi/vm_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py index de1d403cad08..842657d06324 100644 --- a/nova/virt/xenapi/vm_utils.py +++ b/nova/virt/xenapi/vm_utils.py @@ -752,7 +752,7 @@ def destroy_cached_images(session, sr_ref, all_cached=False, dry_run=False, destroyed = set() def destroy_cached_vdi(vdi_uuid, vdi_ref): - LOG.debug("Destroying cached VDI '%(vdi_uuid)s'") + LOG.debug("Destroying cached VDI '%s'", vdi_uuid) if not dry_run: destroy_vdi(session, vdi_ref) destroyed.add(vdi_uuid)