From c810ec1b8d204b9e407194741fe8143289ce0147 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Thu, 25 Jun 2015 03:53:57 -0700 Subject: [PATCH] libvirt: add in missing doc string for hypervisor_version In addition it also align the parameters. TrivialFix Change-Id: I315eccb7d3737729f4881695ce66a4d823084627 --- nova/virt/libvirt/imagebackend.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nova/virt/libvirt/imagebackend.py b/nova/virt/libvirt/imagebackend.py index 8d8e1e579e7a..4550d5ffae8b 100644 --- a/nova/virt/libvirt/imagebackend.py +++ b/nova/virt/libvirt/imagebackend.py @@ -142,7 +142,7 @@ class Image(object): pass def libvirt_info(self, disk_bus, disk_dev, device_type, cache_mode, - extra_specs, hypervisor_version): + extra_specs, hypervisor_version): """Get `LibvirtConfigGuestDisk` filled for this image. :disk_dev: Disk bus device name @@ -150,6 +150,7 @@ class Image(object): :device_type: Device type for this image. :cache_mode: Caching mode for this image :extra_specs: Instance type extra specs dict. + :hypervisor_version: the hypervisor version """ info = vconfig.LibvirtConfigGuestDisk() info.source_type = self.source_type