Skip to content

Fixing the linting error #8

Fixing the linting error

Fixing the linting error #8

Triggered via pull request December 14, 2023 06:01
Status Failure
Total duration 42s
Artifacts

linters.yaml

on: pull_request
golangci-lint
31s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
golangci-lint: base_test.go#L19
could not import github.com/dell/gobrick/internal/mockhelper (-: # github.com/dell/gobrick/internal/mockhelper
golangci-lint: internal/mockhelper/mockhelper.go#L166
m.EXPECT().ReadFile undefined (type *wrappers.MockLimitedOSMockRecorder has no field or method ReadFile)) (typecheck)
golangci-lint: base_test.go#L19
could not import github.com/dell/gobrick/internal/mockhelper (-: # github.com/dell/gobrick/internal/mockhelper
golangci-lint: internal/mockhelper/mockhelper.go#L166
m.EXPECT().ReadFile undefined (type *wrappers.MockLimitedOSMockRecorder has no field or method ReadFile)) (typecheck)
golangci-lint: base_test.go#L19
could not import github.com/dell/gobrick/internal/mockhelper (-: # github.com/dell/gobrick/internal/mockhelper
golangci-lint: internal/mockhelper/mockhelper.go#L166
m.EXPECT().ReadFile undefined (type *wrappers.MockLimitedOSMockRecorder has no field or method ReadFile)) (typecheck)
golangci-lint: base_test.go#L19
could not import github.com/dell/gobrick/internal/mockhelper (-: # github.com/dell/gobrick/internal/mockhelper
golangci-lint: internal/mockhelper/mockhelper.go#L166
m.EXPECT().ReadFile undefined (type *wrappers.MockLimitedOSMockRecorder has no field or method ReadFile)) (typecheck)
golangci-lint: base_test.go#L19
could not import github.com/dell/gobrick/internal/mockhelper (-: # github.com/dell/gobrick/internal/mockhelper
golangci-lint: internal/mockhelper/mockhelper.go#L166
m.EXPECT().ReadFile undefined (type *wrappers.MockLimitedOSMockRecorder has no field or method ReadFile)) (typecheck)
golangci-lint: internal/logger/logger.go#L48
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/logger/logger.go#L53
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/logger/logger.go#L58
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: internal/tracer/tracer.go#L53
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: inttests/iscsi_test.go#L116
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)