[pve-devel] [PATCH container] cleanup: remove unused json_config_properties_no_rootfs()

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Feb 11 10:34:08 CET 2016


---
 src/PVE/LXC.pm | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm
index 6545df5..534a43c 100644
--- a/src/PVE/LXC.pm
+++ b/src/PVE/LXC.pm
@@ -687,18 +687,6 @@ sub json_config_properties {
     return $prop;
 }
 
-sub json_config_properties_no_rootfs {
-    my $prop = shift;
-
-    foreach my $opt (keys %$confdesc) {
-	next if $prop->{$opt};
-	next if $opt eq 'parent' || $opt eq 'snaptime' || $opt eq 'rootfs';
-	$prop->{$opt} = $confdesc->{$opt};
-    }
-
-    return $prop;
-}
-
 # container status helpers
 
 sub list_active_containers {
-- 
2.1.4





More information about the pve-devel mailing list