From 9305b2c986b8743013b522cb22c8bfaec351d315 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 14 Jun 2018 13:22:40 +0200 Subject: [PATCH] make timeouts optional --- PVE/APIClient/Commands/GuestStatus.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index 92f424d..8ae6c75 100644 --- a/PVE/APIClient/Commands/GuestStatus.pm +++ b/PVE/APIClient/Commands/GuestStatus.pm @@ -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, }, }, }, -- 2.39.2