fix unitialized value
This commit is contained in:
parent
a94aa90be1
commit
5530a6ce36
|
@ -86,10 +86,10 @@ sub check {
|
||||||
my $exit = $self->get_severity(section => 'lnic', value => $result3->{cpqNicIfLogMapCondition});
|
my $exit = $self->get_severity(section => 'lnic', value => $result3->{cpqNicIfLogMapCondition});
|
||||||
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
|
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
|
||||||
$self->{output}->output_add(severity => $exit,
|
$self->{output}->output_add(severity => $exit,
|
||||||
short_msg => sprintf("logical nic '%s' is %s (%s)",
|
short_msg => sprintf("logical nic '%s' is %s",
|
||||||
$instance, $result3->{cpqNicIfLogMapCondition}));
|
$instance, $result3->{cpqNicIfLogMapCondition}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
Loading…
Reference in New Issue