Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove naked returns #959

Closed
carlisia opened this issue Oct 18, 2018 · 1 comment · Fixed by #960
Closed

Remove naked returns #959

carlisia opened this issue Oct 18, 2018 · 1 comment · Fixed by #960
Labels
Enhancement/Dev Internal or Developer-focused Enhancement to Velero Good first issue Looking to contribute to Velero? Issues with this label might be a great place to start! kind/tech-debt Size/S Small amount of work

Comments

@carlisia
Copy link
Contributor

https://github.com/heptio/ark/blob/17b3a3b0730a23e1903663a21efb511ac4e1f95f/pkg/controller/restore_controller.go#L491

The return values for this function should be changed to not be naked returns.

@carlisia carlisia added Enhancement/Dev Internal or Developer-focused Enhancement to Velero Good first issue Looking to contribute to Velero? Issues with this label might be a great place to start! Size/S Small amount of work labels Oct 18, 2018
@Atul9
Copy link
Contributor

Atul9 commented Oct 18, 2018

@carlisia I have opened up a PR for this #960

@ncdc ncdc closed this as completed in #960 Oct 19, 2018
ncdc added a commit that referenced this issue Oct 19, 2018
#959 Update restoreController runRestore function to specify return arguments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement/Dev Internal or Developer-focused Enhancement to Velero Good first issue Looking to contribute to Velero? Issues with this label might be a great place to start! kind/tech-debt Size/S Small amount of work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants