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 92f424d..8ae6c75 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,
            },
        },
     },