mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-25 22:06:58 +00:00
avoid warning when list_param is undefined
This commit is contained in:
parent
1d21344cf5
commit
aab47b58d4
@ -860,7 +860,7 @@ sub get_options {
|
|||||||
my @getopt = ();
|
my @getopt = ();
|
||||||
foreach my $prop (keys %{$schema->{properties}}) {
|
foreach my $prop (keys %{$schema->{properties}}) {
|
||||||
my $pd = $schema->{properties}->{$prop};
|
my $pd = $schema->{properties}->{$prop};
|
||||||
next if $prop eq $list_param;
|
next if $list_param && $prop eq $list_param;
|
||||||
next if defined($uri_param->{$prop});
|
next if defined($uri_param->{$prop});
|
||||||
|
|
||||||
if ($prop eq 'password' && $pwcallback) {
|
if ($prop eq 'password' && $pwcallback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user