Skip to content

Fix Golangci-lint errors #29

Fix Golangci-lint errors

Fix Golangci-lint errors #29

Triggered via pull request May 7, 2024 09:44
Status Failure
Total duration 31s
Artifacts

linters.yaml

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

Annotations

2 errors and 10 warnings
golangci-lint: api/v1/api_v1_quotas.go#L151
File is not `gofumpt`-ed (gofumpt)
golangci-lint
issues found
golangci-lint: api/api.go#L171
var-naming: don't use underscores in Go names; const Verbose_High should be VerboseHigh (revive)
golangci-lint: api/api.go#L172
var-naming: don't use underscores in Go names; const Verbose_Medium should be VerboseMedium (revive)
golangci-lint: api/api.go#L173
var-naming: don't use underscores in Go names; const Verbose_Low should be VerboseLow (revive)
golangci-lint: api/common/utils/utils_test.go#L25
unused-parameter: parameter 'm' seems to be unused, consider removing or renaming it as _ (revive)
golangci-lint: api/v1/api_v1.go#L92
var-naming: func getAuthMemberId should be getAuthMemberID (revive)
golangci-lint: api/v1/api_v1_exports.go#L99
unexported-return: exported func GetIsiExports returns unexported type *v1.getIsiExportsResp, which can be annoying to use (revive)
golangci-lint: api/v1/api_v1_snapshots.go#L31
unexported-return: exported func GetIsiSnapshots returns unexported type *v1.getIsiSnapshotsResp, which can be annoying to use (revive)
golangci-lint: api/v1/api_v1_snapshots.go#L171
unexported-return: exported func GetIsiSnapshotFolderWithSize returns unexported type *v1.getIsiVolumeSizeResp, which can be annoying to use (revive)
golangci-lint: api/v1/api_v1_types.go#L47
var-naming: type AclRequest should be ACLRequest (revive)
golangci-lint: api/v1/api_v1_types.go#L93
var-naming: struct field Id should be ID (revive)