mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-26 23:24:27 +02:00
fix wrong ref to channel name
This commit is contained in:
parent
9691abdd38
commit
ba1594b4ae
@ -157,7 +157,7 @@ sub manage_selection {
|
|||||||
next if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne ''
|
next if (defined($self->{option_results}->{filter_name}) && $self->{option_results}->{filter_name} ne ''
|
||||||
&& $_ !~ /$self->{option_results}->{filter_name}/);
|
&& $_ !~ /$self->{option_results}->{filter_name}/);
|
||||||
if (!defined($self->{channel}->{$_})) {
|
if (!defined($self->{channel}->{$_})) {
|
||||||
$self->{channel}->{$_->{ChannelName}} = {
|
$self->{channel}->{$_} = {
|
||||||
qmgr_name => $options{custom}->get_qmgr_name(),
|
qmgr_name => $options{custom}->get_qmgr_name(),
|
||||||
channel_name => $_,
|
channel_name => $_,
|
||||||
channel_status => 'idle',
|
channel_status => 'idle',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user