Kashyap & Venu | updated attach_volume with the correct arguments

This commit is contained in:
Kashyap Kopparam 2014-09-25 16:43:23 +05:30
parent 87965741da
commit 71ef6549b7
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ class EC2Driver(driver.ComputeDriver):
self.ec2_conn.release_address(allocation_id=elastic_ip_address.allocation_id)
def attach_volume(self, context, connection_info, instance, mountpoint,
encryption=None):
disk_bus=None, device_type=None, encryption=None):
"""Attach the disk to the instance at mountpoint using info."""
instance_name = instance['name']
if instance_name not in self._mounts: