RunCommand: Return metrics as a float
Apparently, DBIx::Class doesn't handle columns with type 'double precision' properly.
This commit is contained in:
parent
6db2cbf094
commit
e122d3bef3
|
@ -97,7 +97,7 @@ sub buildFinished {
|
|||
my $j = {
|
||||
name => $metric->name,
|
||||
unit => $metric->unit,
|
||||
value => $metric->value,
|
||||
value => 0 + $metric->value,
|
||||
};
|
||||
push @{$json->{metrics}}, $j;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue