sealerio / sealer

Build, Share and Run Both Your Kubernetes Cluster and Distributed Applications (Project under CNCF)
http://sealer.cool
Apache License 2.0
2.06k stars 362 forks source link

chore: fix golang ci lint error #2311

Closed starnop closed 11 months ago

starnop commented 11 months ago

Describe what this PR does / why we need it

  1. ignore has no field or method error from typecheck linter
  2. replace deprecated linter to suggested replaced linter
  3. fix gosec error

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

Special notes for reviews

codecov-commenter commented 11 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

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

Files Coverage Δ
utils/archive/compress.go 16.31% <0.00%> (ø)

... and 164 files with indirect coverage changes

:loudspeaker: Thoughts on this report? Let us know!.