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

cleanup image2disk package: #40

Merged
merged 1 commit into from
Apr 13, 2021

Conversation

moadqassem
Copy link
Member

Description

Cleaning up the image2disk package:

  • Removing unneeded code
  • Fixing fmt.Errorf() formating
  • Don't swallow errors when they occur

Why is this needed

Some errors are being lost due to bad formatting in addition to breaking go lints.

Fixes: #39

How Has This Been Tested?

Reran the workflow and the errors are showing up again.

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

- removing unneeded code
- fixing fmt.Errorf() formating
- don't swallow errors when they occur

Signed-off-by: Moath Qasim <[email protected]>
Copy link
Contributor

@thebsdbox thebsdbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good !

@gianarb gianarb merged commit f651c37 into tinkerbell:main Apr 13, 2021
@moadqassem moadqassem deleted the dont-swallow-errors branch April 13, 2021 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image2disk workflow swallows errors
3 participants