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:
Jerry Cai 2014-12-17 16:06:17 +08:00
parent 7a82ac4a32
commit 1d990b80ee
1 changed files with 2 additions and 1 deletions

View File

@ -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.