Fix vmwareapi driver spawn() signature
Fixes bug #1045393 commit 99fb9d2a changed the signature of the spawn() method but not all drivers were updated for the change. The injected_files and admin_password instance attributes were ignored by the hyperv driver before, so we can just ignore them in spawn() now that they are being passed as function arguments. Change-Id: Ifc4279a05127dcc5c01388882c40570bf6de5ff2
This commit is contained in:
parent
ce3e8f20ee
commit
b3435461ca
@ -102,7 +102,9 @@ class VMWareAPIVMTestCase(test.TestCase):
|
|||||||
self._create_instance_in_the_db()
|
self._create_instance_in_the_db()
|
||||||
self.type_data = db.instance_type_get_by_name(None, 'm1.large')
|
self.type_data = db.instance_type_get_by_name(None, 'm1.large')
|
||||||
self.conn.spawn(self.context, self.instance, self.image,
|
self.conn.spawn(self.context, self.instance, self.image,
|
||||||
self.network_info)
|
injected_files=[], admin_password=None,
|
||||||
|
network_info=self.network_info,
|
||||||
|
block_device_info=None)
|
||||||
self._check_vm_record()
|
self._check_vm_record()
|
||||||
|
|
||||||
def _check_vm_record(self):
|
def _check_vm_record(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user