diff options
author | Matthew Booth <mbooth@redhat.com> | 2017-12-17 02:35:09 +0000 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2017-12-17 04:24:01 +0000 |
commit | cfa6d3ae30282991f66606af1e06613698b0efb3 (patch) | |
tree | 9fd7467ecea6a0e4dd4a397e1deea1a8cdacfe69 /nova/virt/libvirt/volume/smbfs.py | |
parent | 912c349a030defe7cffd4ad4f1304969c8f0d298 (diff) | |
download | nova-cfa6d3ae30282991f66606af1e06613698b0efb3.tar.gz |
Removed unused argument from LibvirtDriver._connect_volume
_connect_volume was being passed disk_info as an argument. However,
the purpose of _connect_volume is to mount a volume on the compute
host, and disk_info only contains metadata about how the disk will be
presented to a guest. It's therefore not relevant, so it's not
surprising that no drivers are using it.
Change-Id: I843b5c46f9f93a30e7121259feff17a8170a2e48
Diffstat (limited to 'nova/virt/libvirt/volume/smbfs.py')
-rw-r--r-- | nova/virt/libvirt/volume/smbfs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/volume/smbfs.py b/nova/virt/libvirt/volume/smbfs.py index 8841bcb86e..eece7c1050 100644 --- a/nova/virt/libvirt/volume/smbfs.py +++ b/nova/virt/libvirt/volume/smbfs.py @@ -39,7 +39,7 @@ class LibvirtSMBFSVolumeDriver(fs.LibvirtBaseFileSystemVolumeDriver): conf.driver_format = connection_info['data'].get('format', 'raw') return conf - def connect_volume(self, connection_info, disk_info, instance): + def connect_volume(self, connection_info, instance): """Connect the volume.""" smbfs_share = connection_info['data']['export'] mount_path = self._get_mount_path(connection_info) |