Revision 710a2863
ID | 710a2863775b75905526ce60eb0ed82a9715fa9e |
Parent | 5ca6adf5 |
Child | 9a0b8258 |
Convert int to float when checking config. consistency
When reading the configuration file from RPC JSON, values without a
floating point are parsed as 'int', not as 'float', and later the
consistency check fails.
This patch adds an automatic conversion from 'int' to 'float' during
checking so that the improper JSON parsing is fixed.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Files
- added
- modified
- copied
- renamed
- deleted