]> git.proxmox.com Git - pve-container.git/commitdiff
followup: clarify error for CT templates on directory storage
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 Jun 2018 13:30:42 +0000 (15:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 6 Jun 2018 13:34:00 +0000 (15:34 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/LXC.pm

index 651138fe6bc42faa7f5c5f6cb577169bb768824c..d85c1a244eabfe58fda8e0e8acd5b73931220028 100644 (file)
@@ -1171,7 +1171,7 @@ __PACKAGE__->register_method({
                my ($ms, $mp) = @_;
 
                my ($sid) =PVE::Storage::parse_volume_id($mp->{volume}, 0);
-               die "Storage '$sid' does not support templates!\n"
+               die "Directory storage '$sid' does not support container templates!\n"
                    if $scfg->{ids}->{$sid}->{path};
            });