diff --git a/perl5/PVE/Storage/LunCmd/FreeNAS.pm b/perl5/PVE/Storage/LunCmd/FreeNAS.pm index 5dec053..cede927 100644 --- a/perl5/PVE/Storage/LunCmd/FreeNAS.pm +++ b/perl5/PVE/Storage/LunCmd/FreeNAS.pm @@ -695,6 +695,7 @@ sub freenas_list_lu { } $node->{$freenas_api_variables->{'lunid'}} .= $iscsi_lunid; push(@luns , $node); + last; } } }