Fix infinite do_put recursive call with retry only once
For failure in do-put method call REST server computes
the argument types based on the signature and makes a
recursive call with the modified argument types.
Without proper exit clause recursive call is falling into an
infinite loop, modified to retry only once.
Also fixed do_post which has similar retry logic.
Fixes openbmc/openbmc#2653
Change-Id: I150464de5585ebdfab4ae2da2083a62bd63caca1
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
1 file changed