Skip to content

Commit

Permalink
test: remove depguard, revive golint check
Browse files Browse the repository at this point in the history
test: fix golint
  • Loading branch information
andyzhangx committed Feb 5, 2024
1 parent 215aca5 commit 69b5ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: -E=gofmt,unused,ineffassign,revive,misspell,exportloopref,asciicheck,bodyclose,depguard,dogsled,durationcheck,errname,forbidigo -D=staticcheck --timeout=30m0s
args: -E=gofmt,unused,ineffassign,misspell,exportloopref,asciicheck,bodyclose,dogsled,durationcheck,errname,forbidigo -D=staticcheck --timeout=30m0s
2 changes: 1 addition & 1 deletion pkg/iscsilib/iscsiadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Secrets struct {
func iscsiCmd(args ...string) (string, error) {
stdout, err := execWithTimeout("iscsiadm", args, time.Second*3)

klog.V(2).Infof("Run iscsiadm command: %s", strings.Join(append([]string{"iscsiadm"}, args...), " ")) // nolint
klog.V(2).Infof("Run iscsiadm command: %s", strings.Join(append([]string{"iscsiadm"}, args...), " ")) // nolint
iscsiadmDebug(string(stdout), err)

return string(stdout), err
Expand Down

0 comments on commit 69b5ca7

Please sign in to comment.