Another small patch. This one fixes an error introduced in r919, that breaks the proper display of current metric values in the charts. Specifically the "(now 0.23)", and similar text.
The bug is that the 'v' entity is run throught clean_number, which *only* handles integers; floating point numbers are rejected out of hand. The patch adds a new function called "clean_float", which will properly pass floating point numbers (including those in scientific notation). Looking over the code, it should be possible to use clean_float everywhere clean_number is currently called, or add support for floating point numbers to clean_number, since we really want to check for valid numerical data, not just a string of pure digits. -- Jesse Becker GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2
value_floating_point.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Ganglia-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-developers
