Revision f1638b0b
ID | f1638b0b94d751d507543d57a2639d82ad7bd40b |
Parent | b7d4a7c5 |
Child | 0f6997b9, 205d3309 |
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>
Cherry-picked from 710a2863775b75905526ce60eb0ed82a9715fa9e to fix
downgrades to 2.11.
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Files
- added
- modified
- copied
- renamed
- deleted