OPCT-226: cmd/report UX enhancements #417
Annotations
10 errors and 2 warnings
go-lint:
pkg/cmd/adm/parsemetrics.go#L48
Error return value of `buf.ReadFrom` is not checked (errcheck)
|
go-lint:
pkg/cmd/adm/root.go#L14
Error return value of `cmd.Help` is not checked (errcheck)
|
go-lint:
internal/opct/archive/errorcounter_test.go#L8
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
go-lint:
internal/openshift/mustgathermetrics/main.go#L81
Error return value of `page.RenderPage` is not checked (errcheck)
|
go-lint:
internal/openshift/mustgather/mustgather.go#L20
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
go-lint:
internal/opct/summary/result.go#L329
Error return value of `os.MkdirAll` is not checked (errcheck)
|
go-lint
issues found
|
go-staticcheck:
internal/opct/archive/errorcounter_test.go#L8
"k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (SA1019)
|
go-staticcheck:
internal/openshift/mustgather/mustgather.go#L20
"k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (SA1019)
|
go-staticcheck
Process completed with exit code 1.
|
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
go-staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|