use new syntax for PVE::JSONSchema::get_options

This commit is contained in:
Dietmar Maurer 2011-11-24 12:22:24 +01:00
parent ecf9cd1ecc
commit 4baf5d13d1

View File

@ -111,7 +111,7 @@ sub parse_vzdump_cron_config {
die "unable to parse day of week '$dow' in '$filename'\n" if !$dowhash; die "unable to parse day of week '$dow' in '$filename'\n" if !$dowhash;
my $args = PVE::Tools::split_args($param); my $args = PVE::Tools::split_args($param);
my $opts = PVE::JSONSchema::get_options($vzdump_propetries, $args, undef, undef, 'vmid'); my $opts = PVE::JSONSchema::get_options($vzdump_propetries, $args, 'vmid');
$opts->{id} = "$digest:$jid"; $opts->{id} = "$digest:$jid";
$jid++; $jid++;