[pve-devel] [PATCH v3 pve-common 4/5] section config: make subroutine `delete_from_config` private
    Max Carrara 
    m.carrara at proxmox.com
       
    Thu Oct 31 18:07:19 CET 2024
    
    
  
because it's just an internal helper method and isn't used anywhere
outside of the package.
Signed-off-by: Max Carrara <m.carrara at proxmox.com>
---
Changes v2 --> v3:
  * none
Changes v1 --> v2:
  * new
 src/PVE/SectionConfig.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/SectionConfig.pm b/src/PVE/SectionConfig.pm
index 05cd538..aa17391 100644
--- a/src/PVE/SectionConfig.pm
+++ b/src/PVE/SectionConfig.pm
@@ -1617,7 +1617,7 @@ C<$config>.
 
 =cut
 
-sub delete_from_config {
+my sub delete_from_config {
     my ($config, $option_schema, $new_options, $to_delete) = @_;
 
     for my $k ($to_delete->@*) {
-- 
2.39.5
    
    
More information about the pve-devel
mailing list