From 0f7a4d2d84e71675437ed4c53e7bb16306b612d4 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Thu, 7 Aug 2025 16:24:08 +0200 Subject: [PATCH] make tidy Signed-off-by: Wolfgang Bumiller --- src/PVE/Storage/ISCSIPlugin.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/PVE/Storage/ISCSIPlugin.pm b/src/PVE/Storage/ISCSIPlugin.pm index 33b3d19..30f4178 100644 --- a/src/PVE/Storage/ISCSIPlugin.pm +++ b/src/PVE/Storage/ISCSIPlugin.pm @@ -48,9 +48,7 @@ sub iscsi_session_list { outfunc => sub { my $line = shift; # example: tcp: [1] 192.168.122.252:3260,1 iqn.2003-01.org.linux-iscsi.proxmox-nfs.x8664:sn.00567885ba8f (non-flash) - if ($line =~ - m/^tcp:\s+\[(\S+)\]\s+(\S+:\d+)\,\S+\s+(\S+)\s+\S+?\s*$/ - ) { + if ($line =~ m/^tcp:\s+\[(\S+)\]\s+(\S+:\d+)\,\S+\s+(\S+)\s+\S+?\s*$/) { my ($session_id, $portal, $target) = ($1, $2, $3); # there can be several sessions per target (multipath) push @{ $res->{$target} }, { session_id => $session_id, portal => $portal };