SUSE / salt-netapi-client

Java bindings for the Salt API
MIT License
85 stars 95 forks source link

handle random retcode field in batch mode #273

Closed lucidd closed 5 years ago

lucidd commented 5 years ago

This handles the stupidity that is the random retcode thrown into the result in batch mode. For more info see comments in the code.

The fix works by going over the results and for each JsonParsingError we encounter retry to parse it after removing the retcode if present.