]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/API2/Storage/Scan.pm
add lvmthinscan to CLI
[pve-storage.git] / PVE / API2 / Storage / Scan.pm
index 3e3f2c3d3b1076d5c6e24d1d380262b9db5d52ff..11d139ffc731afaee36ab329a6c25cac90629b7d 100644 (file)
@@ -239,7 +239,7 @@ __PACKAGE__->register_method ({
     }});
 
 __PACKAGE__->register_method ({
-    name => 'thinlvmscan',
+    name => 'lvmthinscan',
     path => 'lvmthin',
     method => 'GET',
     description => "List local LVM Thin Pools.",
@@ -270,6 +270,7 @@ __PACKAGE__->register_method ({
     },
     code => sub {
        my ($param) = @_;
+
        return PVE::Storage::LvmThinPlugin::list_thinpools($param->{vg});
     }});