Skip to content
Snippets Groups Projects
Commit a5f723a2 authored by Guido Trotter's avatar Guido Trotter
Browse files

FakeHypervisor: fix a function signature

StartInstance takes 'block_devices', not 'force' as its third argument.
Even if this is not used in the fake hypervisor it's better to have the
correct argument name to avoid confusion.

Reviewed-by: imsnah
parent e326d4e5
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ class FakeHypervisor(hv_base.BaseHypervisor):
raise errors.HypervisorError("Failed to list instances: %s" % err)
return data
def StartInstance(self, instance, force, extra_args):
def StartInstance(self, instance, block_devices, extra_args):
"""Start an instance.
For the fake hypervisor, it just creates a file in the base dir,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment