Skip to content

Commit

Permalink
fix set size handling
Browse files Browse the repository at this point in the history
  • Loading branch information
VVelox committed May 24, 2023
1 parent 0216167 commit 50789b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmp/logsize
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ $return_json->{data}{mean} = mean(@set_sizes);
$return_json->{data}{median} = median(@set_sizes);
$return_json->{data}{mode} = mode(@set_sizes);
$return_json->{data}{min} = min(@set_sizes);
$return_json->{data}{sum} = sum(@set_sizes);
$return_json->{data}{size} = sum(@set_sizes);

# if this is not atleast one, then no sets are defined, even if the hash exists
if ( $found_sets < 1 ) {
Expand Down

0 comments on commit 50789b6

Please sign in to comment.