]> git.proxmox.com Git - pve-container.git/commitdiff
cleanup: remove unused json_config_properties_no_rootfs()
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 11 Feb 2016 09:34:08 +0000 (10:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 11 Feb 2016 11:00:37 +0000 (12:00 +0100)
src/PVE/LXC.pm

index 6545df57543a4e8f8a3978a4eefbd09aaff3ea98..534a43c222e008cdda8959ad1471613b16a21076 100644 (file)
@@ -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 {