[pve-devel] [PATCH pve-storage] pvesm iscsiscan: fix cli parameters

Dietmar Maurer dietmar at proxmox.com
Mon Oct 1 10:53:31 CEST 2018


Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
 PVE/CLI/pvesm.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/CLI/pvesm.pm b/PVE/CLI/pvesm.pm
index d95b5f5..650288e 100755
--- a/PVE/CLI/pvesm.pm
+++ b/PVE/CLI/pvesm.pm
@@ -370,7 +370,7 @@ our $cmddef = {
 			 printf "%s\n", $rec->{volname};
 		     }
 		 }],
-    iscsiscan => [ "PVE::API2::Storage::Scan", 'iscsiscan', ['server'],
+    iscsiscan => [ "PVE::API2::Storage::Scan", 'iscsiscan', ['portal'],
 		   { node => $nodename }, sub  {
 		       my $res = shift;
 
-- 
2.11.0




More information about the pve-devel mailing list