[pve-devel] [PATCH v3 pve-common 5/5] section config: fix spelling of variable

Max Carrara m.carrara at proxmox.com
Thu Oct 31 18:07:20 CET 2024


s/modifyable/modifiable

Signed-off-by: Max Carrara <m.carrara at proxmox.com>
---
Changes v2 --> v3:
  * new

 src/PVE/SectionConfig.pm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm
index aa17391..16ad7aa 100644
--- a/src/PVE/SectionConfig.pm
+++ b/src/PVE/SectionConfig.pm
@@ -596,16 +596,16 @@ sub updateSchema {
 		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->%*) {
 		my $opts = $pdata->{options}->{$t} || {};
 		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};
 	}
-- 
2.39.5





More information about the pve-devel mailing list