fix(docker-service-status) bug on bugfix

This commit is contained in:
Simon Bomm 2020-06-11 14:47:33 +02:00 committed by GitHub
parent 43d526a7a0
commit 9f22fa22b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ sub manage_selection {
foreach my $service_id (keys %$results) {
foreach my $task_id (keys %{$results->{$service_id}}) {
if (defined($self->{option_results}->{filter_service_name}) && $self->{option_results}->{filter_service_name} ne '' &&
$task_id->{Name} !~ /$self->{option_results}->{filter_service_name}/) {
$results->{$service_id}->{$task_id}->{service_name} !~ /$self->{option_results}->{filter_service_name}/) {
$self->{output}->output_add(long_msg => "skipping service '" . $task_id->{service_name} . "': no matching filter type.", debug => 1);
next;
}