Merge pull request #1445 from lordtaki/patch-1

Fix no-ha-status option
This commit is contained in:
qgarnier 2019-03-26 12:44:43 +01:00 committed by GitHub
commit ab268348b8
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ sub manage_selection {
nothing_quit => 1);
if ($result->{$oid_haInstalled} < 1 or $result->{$oid_haStarted} eq "no") {
$self->{output}->output_add(severity => $self->{option_results}->{no_ha_state},
$self->{output}->output_add(severity => $self->{option_results}->{no_ha_status},
short_msg => sprintf("Looks like HA is not started, or not installed .."),
long_msg => sprintf("HA Installed : '%u' HA Started : '%s'",
$result->{$oid_haInstalled}, $result->{$oid_haStarted}),