Skip to content
Snippets Groups Projects
Commit af89fa76 authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Fix format string of KVM output


This fixes a missing 's' in the format string and
the wrong quotes. Those bugs were introduced in
commit 6e043e60.

Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent d316b880
No related branches found
No related tags found
No related merge requests found
...@@ -1721,8 +1721,8 @@ class KVMHypervisor(hv_base.BaseHypervisor): ...@@ -1721,8 +1721,8 @@ class KVMHypervisor(hv_base.BaseHypervisor):
result = utils.RunCmd([kvm_path] + cls._KVMOPTS_CMDS[option]) result = utils.RunCmd([kvm_path] + cls._KVMOPTS_CMDS[option])
if result.failed: if result.failed:
raise errors.HypervisorError("Unable to get KVM % output" % raise errors.HypervisorError("Unable to get KVM %s output" %
' '.join(cls._KVMOPTS_CMDS[option])) " ".join(cls._KVMOPTS_CMDS[option]))
return result.output return result.output
@classmethod @classmethod
......
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