Kashyap & Venu | updated attach_volume with the correct arguments
This commit is contained in:
parent
87965741da
commit
71ef6549b7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue