]> git.proxmox.com Git - pve-container.git/commitdiff
improve inline comment
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Oct 2015 10:26:10 +0000 (11:26 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Oct 2015 10:26:10 +0000 (11:26 +0100)
src/PVE/API2/LXC.pm

index ffa3f4c1e9d5284fc4be69987e9969c8258d9ce1..3f6bafeffb6fb5cfcb860ec9bbafa8a4bddc7d30 100644 (file)
@@ -1019,7 +1019,8 @@ __PACKAGE__->register_method({
 
            PVE::Cluster::log_msg('info', $authuser, "update CT $vmid: resize --disk $disk --size $sizestr");
            my $realcmd = sub {
-               # FIXME: volume_resize doesn't do anything if $running=1?
+               # Note: PVE::Storage::volume_resize doesn't do anything if $running=1, so
+               # we pass 0 here (parameter only makes sense for qemu)
                PVE::Storage::volume_resize($storage_cfg, $volid, $newsize, 0);
 
                $mp->{size} = $newsize;