From e6bd703b4e0a26e585fcd32b457ed47a2ab3ca2c Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 15 Feb 2018 14:04:51 +0100 Subject: [PATCH] change some guest agent commands to GET api calls Signed-off-by: Dominik Csapak --- PVE/API2/Qemu/Agent.pm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/PVE/API2/Qemu/Agent.pm b/PVE/API2/Qemu/Agent.pm index b046d2d6..563be46d 100644 --- a/PVE/API2/Qemu/Agent.pm +++ b/PVE/API2/Qemu/Agent.pm @@ -17,10 +17,10 @@ my $guest_agent_commands = { method => 'POST', }, 'get-time' => { - method => 'POST', + method => 'GET', }, 'info' => { - method => 'POST', + method => 'GET', }, 'fsfreeze-status' => { method => 'POST', @@ -35,19 +35,19 @@ my $guest_agent_commands = { method => 'POST', }, 'network-get-interfaces' => { - method => 'POST', + method => 'GET', }, 'get-vcpus' => { - method => 'POST', + method => 'GET', }, 'get-fsinfo' => { - method => 'POST', + method => 'GET', }, 'get-memory-blocks' => { - method => 'POST', + method => 'GET', }, 'get-memory-block-info' => { - method => 'POST', + method => 'GET', }, 'suspend-hybrid' => { method => 'POST',