There is a typo in the error handling code of this microservice. Upon error of the put_a_file() function (which uses rcDataObjPut() in turn), the error was not propagated downstream because final_error was set to SUCCESS() by default. Change this to ret which contains the upstream error.
There is a typo in the error handling code of this microservice. Upon error of the put_a_file() function (which uses rcDataObjPut() in turn), the error was not propagated downstream because
final_error
was set to SUCCESS() by default. Change this toret
which contains the upstream error.