Spawn() method signature mismatches with latest kilo release codes
Consider after a while this "instance_type" has been changed to "flavor", and we never use them, to avoid frequently update the powervc-driver signature, append "**kwargs" to spawn() method. Change-Id: I44c664c4e1650955e1eaa1f619223c00ade6f999 Closes-Bug: 1403378
This commit is contained in:
parent
7a82ac4a32
commit
1d990b80ee
|
@ -207,7 +207,8 @@ class PowerVCDriver(driver.ComputeDriver):
|
|||
return self._service.get_flavor_extraspecs(flavor)
|
||||
|
||||
def spawn(self, context, instance, image_meta, injected_files,
|
||||
admin_password, network_info=None, block_device_info=None):
|
||||
admin_password, network_info=None, block_device_info=None,
|
||||
**kwargs):
|
||||
"""
|
||||
Create a new instance/VM/domain on the virtualization platform.
|
||||
|
||||
|
|
Loading…
Reference in New Issue