fix result for legacy api
This commit is contained in:
parent
add1e8a8c2
commit
cf402c85fe
|
@ -142,6 +142,7 @@ sub output_perf {
|
|||
|
||||
my $result = 'UNKNOWN';
|
||||
$result = $errors_num{$options{result}} if ($options{result} =~ /[0-3]/);
|
||||
$result = $options{result}if ($options{result} =~ /\w+/);
|
||||
|
||||
my %result = (
|
||||
code => $result,
|
||||
|
|
Loading…
Reference in New Issue