From 173f8c49efe1d7777f168458746c6076554b92f3 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Fri, 4 Jun 2021 15:49:35 +0200 Subject: [PATCH] vzdump: remove deprecated size parameter Signed-off-by: Fabian Ebner --- PVE/API2/VZDump.pm | 2 -- PVE/VZDump.pm | 4 ---- configs/vzdump.conf | 1 - 3 files changed, 7 deletions(-) diff --git a/PVE/API2/VZDump.pm b/PVE/API2/VZDump.pm index 4093d82f..10847260 100644 --- a/PVE/API2/VZDump.pm +++ b/PVE/API2/VZDump.pm @@ -230,8 +230,6 @@ __PACKAGE__->register_method ({ delete $res->{pool}; } - delete $res->{size}; # deprecated, to be dropped with PVE 7.0 - return $res; }}); diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm index 40ce01dd..8213ed66 100644 --- a/PVE/VZDump.pm +++ b/PVE/VZDump.pm @@ -1241,10 +1241,6 @@ sub verify_vzdump_parameters { $param->{all} = 1 if (defined($param->{exclude}) && !$param->{pool}); - warn "option 'size' is deprecated and will be removed in a future " . - "release, please update your script/configuration!\n" - if defined($param->{size}); - return if !$check_missing; raise_param_exc({ vmid => "property is missing"}) diff --git a/configs/vzdump.conf b/configs/vzdump.conf index f69b69c4..d14942dd 100644 --- a/configs/vzdump.conf +++ b/configs/vzdump.conf @@ -8,7 +8,6 @@ #ionice: PRI #lockwait: MINUTES #stopwait: MINUTES -#size: MB #stdexcludes: BOOLEAN #mailto: ADDRESSLIST #maxfiles: N -- 2.39.5