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 package usage #432

Merged
merged 6 commits into from
Sep 17, 2024
Merged

cleanup package usage #432

merged 6 commits into from
Sep 17, 2024

Conversation

rminnich
Copy link
Contributor

gofmt -r 'ioutil.ReadAll -> io.ReadAll' -w .
gofmt -r 'ioutil.ReadFile -> os.ReadFile' -w .
goimports -w .

orangecms
orangecms previously approved these changes Sep 17, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 41.63%. Comparing base (58d8581) to head (ea4ae00).

Files with missing lines Patch % Lines
pkg/bytes/is_zero_filled_amd64.go 0.00% 2 Missing ⚠️
cmds/create-ffs/create-ffs.go 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #432   +/-   ##
=======================================
  Coverage   41.63%   41.63%           
=======================================
  Files         142      142           
  Lines       10729    10728    -1     
=======================================
  Hits         4467     4467           
+ Misses       5394     5393    -1     
  Partials      868      868           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

gofmt -r 'ioutil.ReadAll -> io.ReadAll' -w .
gofmt -r 'ioutil.ReadFile -> os.ReadFile' -w .
goimports -w .

Signed-off-by: Ronald G. Minnich <[email protected]>
I'd prefer we stop using these non-standard flag parsers
when possible, as we did in u-root. They add little value.

Signed-off-by: Ronald G. Minnich <[email protected]>
Signed-off-by: Ronald G. Minnich <[email protected]>
It is not clear why it is ok to ignore this error, but
that is original code.

Signed-off-by: Ronald G. Minnich <[email protected]>
binjip978
binjip978 previously approved these changes Sep 17, 2024
@rminnich
Copy link
Contributor Author

no idea how to fix windows.

@rminnich rminnich merged commit d6bff16 into linuxboot:main Sep 17, 2024
13 of 15 checks passed
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.

4 participants