]> git.proxmox.com Git - pve-container.git/commitdiff
improve some 'implement me' error messages
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 7 Dec 2015 14:12:46 +0000 (15:12 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 9 Dec 2015 11:17:57 +0000 (12:17 +0100)
src/PVE/LXC.pm

index 6cef7b36cea3826901aaedad3f753a0c634c51bb..39fd28fc7905218ad0c9286ef2c396a19f062272 100644 (file)
@@ -1078,7 +1078,7 @@ sub update_lxc_config {
            $raw .= "lxc.include = /usr/share/lxc/config/$ostype.userns.conf\n"
        }
     } else {
-       die "implement me";
+       die "implement me (ostype $ostype)";
     }
 
     $raw .= "lxc.monitor.unshare = 1\n";
@@ -1264,7 +1264,7 @@ sub update_pct_config {
            } elsif ($opt eq 'unprivileged') {
                die "unable to delete read-only option: '$opt'\n";
            } else {
-               die "implement me"
+               die "implement me (delete: $opt)"
            }
            write_config($vmid, $conf) if $running;
        }