Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix returned error values in defer functions
This is copied from openark/orchestrator#946 with a slight tweak to the an indent. Originates from the PR openark/orchestrator#943 that applies to this codebase too. When we define the variable and attempt to set it in a defer function, the value we're returning isn't what we expect. Instead we can name the return values as variables and set that instead.
- Loading branch information