fix unitialized value

This commit is contained in:
qgarnier 2017-08-10 13:36:20 +02:00
parent a94aa90be1
commit 5530a6ce36
1 changed files with 2 additions and 2 deletions

View File

@ -86,10 +86,10 @@ sub check {
my $exit = $self->get_severity(section => 'lnic', value => $result3->{cpqNicIfLogMapCondition});
if (!$self->{output}->is_status(value => $exit, compare => 'ok', litteral => 1)) {
$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}));
}
}
}
1;
1;