Commit 47387b1e authored by Guido Trotter's avatar Guido Trotter
Browse files

KVMHypervisor fix to case misspellings

Reviewed-by: imsnah
parent 8f348e36
......@@ -366,7 +366,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
@raise errors.HypervisorError: when a parameter is not valid
super(KvmHypervisor, cls).CheckParameterSyntax(hvparams)
super(KVMHypervisor, cls).CheckParameterSyntax(hvparams)
if not hvparams[constants.HV_KERNEL_PATH]:
raise errors.HypervisorError("Need a kernel for the instance")
......@@ -386,7 +386,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
super(KvmHypervisor, self).ValidateParameters(hvparams)
super(KVMHypervisor, self).ValidateParameters(hvparams)
kernel_path = hvparams[constants.HV_KERNEL_PATH]
if not os.path.isfile(kernel_path):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment