]> git.proxmox.com Git - pve-client.git/commitdiff
make timeouts optional
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Jun 2018 11:22:40 +0000 (13:22 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Jun 2018 11:22:40 +0000 (13:22 +0200)
PVE/APIClient/Commands/GuestStatus.pm

index 92f424d1a937f86dfb1c0dcf7d52ce21c1895e77..8ae6c757c601c161b4e7b8f0506ba2a5e38426fd 100644 (file)
@@ -64,7 +64,8 @@ __PACKAGE__->register_method ({
            timeout => {
                description => "Timeout in seconds",
                type => 'integer',
-               minimum => 1
+               minimum => 1,
+               optional => 1,
            },
        },
     },
@@ -98,7 +99,8 @@ __PACKAGE__->register_method ({
            timeout => {
                description => "Timeout in seconds",
                type => 'integer',
-               minimum => 1
+               minimum => 1,
+               optional => 1,
            },
        },
     },