« Previous | Next » 

Revision f1638b0b

IDf1638b0b94d751d507543d57a2639d82ad7bd40b
Parent b7d4a7c5
Child 0f6997b9, 205d3309

Added by Petr Pudlak about 10 years ago

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 <>
Reviewed-by: Klaus Aehlig <>

Cherry-picked from 710a2863775b75905526ce60eb0ed82a9715fa9e to fix
downgrades to 2.11.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Helga Velroyen <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences