]> git.proxmox.com Git - qemu-server.git/commitdiff
change some guest agent commands to GET api calls
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 15 Feb 2018 13:04:51 +0000 (14:04 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 20 Feb 2018 08:56:50 +0000 (09:56 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu/Agent.pm

index b046d2d66dc567ee0e24bf4392e5fa3dda9c42c8..563be46d3f9e71a1994301f7abae3b8ff12e4e16 100644 (file)
@@ -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',