Merge "Add requested_size to extend_volume"
This commit is contained in:
commit
a98977a170
|
@ -751,12 +751,14 @@ class PowerVMDriver(driver.ComputeDriver):
|
|||
# to revise in the future as volume connectors evolve.
|
||||
instance.save()
|
||||
|
||||
def extend_volume(self, connection_info, instance):
|
||||
def extend_volume(self, connection_info, instance, requested_size):
|
||||
"""Extend the disk attached to the instance.
|
||||
|
||||
:param dict connection_info: The connection for the extended volume.
|
||||
:param nova.objects.instance.Instance instance:
|
||||
The instance whose volume gets extended.
|
||||
:param int requested_size: The requested new volume size in bytes. This
|
||||
parameter is unused by this driver.
|
||||
:return: None
|
||||
"""
|
||||
vol_drv = vol_attach.build_volume_driver(
|
||||
|
|
Loading…
Reference in New Issue