fix ha
This commit is contained in:
parent
4c8bd540fd
commit
c5099c639b
|
@ -39,8 +39,8 @@ sub custom_status_output {
|
|||
sub custom_status_calc {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
$self->{result_values}->{ha_status} = $options{old_datas}->{$self->{instance} . '_ha_status'};
|
||||
$self->{result_values}->{ha_status_last} = $options{new_datas}->{$self->{instance} . '_ha_status'};
|
||||
$self->{result_values}->{ha_status_last} = $options{old_datas}->{$self->{instance} . '_ha_status'};
|
||||
$self->{result_values}->{ha_status} = $options{new_datas}->{$self->{instance} . '_ha_status'};
|
||||
if (!defined($options{old_datas}->{$self->{instance} . '_ha_status'})) {
|
||||
$self->{error_msg} = 'buffer creation';
|
||||
return -2;
|
||||
|
|
Loading…
Reference in New Issue