PBM-1649 Support profiles in cleanup and delete-backup #1658
reviewdog.yml
on: pull_request
runner / shellcheck
9s
runner / misspell
21s
runner / alex
52s
runner / golangci-lint
49s
runner / gofmt
20s
runner / shfmt
20s
Annotations
10 errors
|
runner / golangci-lint:
pbm/lock/lock.go#L129
QF1008: could remove embedded field "LockHeader" from selector (staticcheck)
|
|
runner / golangci-lint:
pbm/compress/compress.go#L115
QF1008: could remove embedded field "Header" from selector (staticcheck)
|
|
runner / golangci-lint:
e2e-tests/pkg/pbm/docker.go#L279
SA1019: types.Container is deprecated: use [container.Summary]. (staticcheck)
|
|
runner / golangci-lint:
e2e-tests/pkg/pbm/docker.go#L194
SA1019: types.Container is deprecated: use [container.Summary]. (staticcheck)
|
|
runner / golangci-lint:
cmd/pbm/status.go#L134
S1009: should omit nil check; len() for nil slices is defined as zero (staticcheck)
|
|
runner / golangci-lint:
cmd/pbm-agent/args.go#L15
SA1019: reflect.StringHeader has been deprecated since Go 1.21 and an alternative has been available since Go 1.20: Use unsafe.String or unsafe.StringData instead. (staticcheck)
|
|
runner / golangci-lint:
pbm/storage/oss/client.go#L49
The line is 128 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
runner / golangci-lint:
pbm/storage/oss/client.go#L48
The line is 140 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
runner / golangci-lint:
pbm/storage/oss/client.go#L47
The line is 131 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
runner / golangci-lint:
pbm/storage/s3/s3_test.go#L178
Error return value of `opts.Cast` is not checked (errcheck)
|