Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: remove redundant/repeated code
Follows up PR #4876 which removed the return on non-nil errors to always return a non-nil REST response regardless of error. The checks performed seem benign and the return result is the same. This change uses the reverse conditional refactoring method to gut out nesting and many conditions. Noticed while hunting through types.ParseABCILogs. Fixes #8181
- Loading branch information