vzdump: remove deprecated size parameter

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2021-06-04 15:49:35 +02:00 committed by Fabian Grünbichler
parent a851a0f781
commit 173f8c49ef
3 changed files with 0 additions and 7 deletions

View File

@ -230,8 +230,6 @@ __PACKAGE__->register_method ({
delete $res->{pool};
}
delete $res->{size}; # deprecated, to be dropped with PVE 7.0
return $res;
}});

View File

@ -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"})

View File

@ -8,7 +8,6 @@
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#stdexcludes: BOOLEAN
#mailto: ADDRESSLIST
#maxfiles: N