mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-11 18:02:03 +00:00
section config: fix spelling of variable
s/modifyable/modifiable Signed-off-by: Max Carrara <m.carrara@proxmox.com>
This commit is contained in:
parent
820949f46f
commit
34dec45c43
@ -596,16 +596,16 @@ sub updateSchema {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
my $modifyable = 0;
|
my $modifiable = 0;
|
||||||
|
|
||||||
$modifyable = 1 if defined($copts->{$p}) && !$copts->{$p}->{fixed};
|
$modifiable = 1 if defined($copts->{$p}) && !$copts->{$p}->{fixed};
|
||||||
|
|
||||||
for my $t (keys $plugins->%*) {
|
for my $t (keys $plugins->%*) {
|
||||||
my $opts = $pdata->{options}->{$t} || {};
|
my $opts = $pdata->{options}->{$t} || {};
|
||||||
next if !defined($opts->{$p});
|
next if !defined($opts->{$p});
|
||||||
$modifyable = 1 if !$opts->{$p}->{fixed};
|
$modifiable = 1 if !$opts->{$p}->{fixed};
|
||||||
}
|
}
|
||||||
next if !$modifyable;
|
next if !$modifiable;
|
||||||
|
|
||||||
$props->{$p} = $propertyList->{$p};
|
$props->{$p} = $propertyList->{$p};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user