[pve-devel] applied: [PATCH qemu-server] agent: import used check_agent_error method

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jul 30 11:05:19 CEST 2018


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---

That's why one (in this case I) should always test the API paths too, not only
the CLI handler ones when reviewing, duh..

 PVE/API2/Qemu/Agent.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Qemu/Agent.pm b/PVE/API2/Qemu/Agent.pm
index 0920e15..839146c 100644
--- a/PVE/API2/Qemu/Agent.pm
+++ b/PVE/API2/Qemu/Agent.pm
@@ -6,7 +6,7 @@ use warnings;
 use PVE::RESTHandler;
 use PVE::JSONSchema qw(get_standard_option);
 use PVE::QemuServer;
-use PVE::QemuServer::Agent qw(agent_available agent_cmd);
+use PVE::QemuServer::Agent qw(agent_available agent_cmd check_agent_error);
 use MIME::Base64 qw(encode_base64 decode_base64);
 use JSON;
 
-- 
2.18.0





More information about the pve-devel mailing list