fix(ibm/hmc) led-status mode - systems missing (#2721)

This commit is contained in:
qgarnier 2021-04-20 09:18:10 +02:00 committed by GitHub
parent fd1209aa4e
commit 8ea8c2b7cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ sub manage_selection {
$self->{physical} = {};
$self->{virtuallpar} = {};
while ($content =~ /^system:\s+(.*?)\n(.*?)(?:system:|\Z)/msg) {
while ($content =~ /^system:\s+(.*?)\n(.*?)(?=system:|\Z)/msg) {
my ($system_name, $subcontent) = ($1, $2);
if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne '' &&
$system_name !~ /$self->{option_results}->{filter_name}/) {