dell / csi-baremetal

Bare-metal CSI Driver
Apache License 2.0
72 stars 33 forks source link

master branch build failure due to golint error #1016

Closed libzhang closed 1 year ago

libzhang commented 1 year ago

Describe the bug

  1. golint crash in devkit,
    20:04:22  panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt
    20:04:22  
    20:04:22  goroutine 1 [running]:
    20:04:22  github.com/go-critic/go-critic/checkers.init.22()
    20:04:22    github.com/go-critic/go-critic@v0.6.2/checkers/embedded_rules.go:46 +0x4b4
  2. some new golint issues for csi code when upgrade golint to 1.48.0.

Environment (please complete the following information):

To Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.