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

Dietmar Maurer dietmar at proxmox.com
Mon Oct 1 10:54:41 CEST 2018


fixes https://bugzilla.proxmox.com/show_bug.cgi?id=1936

> On October 1, 2018 at 10:53 AM Dietmar Maurer <dietmar at proxmox.com> wrote:
> 
> 
> 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