reverted to original code #677
Annotations
10 errors and 2 warnings
Lint:
pkg/cybr/cem/cem.go#L43
Error return value of `dataEncoder.Encode` is not checked (errcheck)
|
Lint:
pkg/cybr/helpers/httpjson/httpjson.go#L51
Error return value of `buf.ReadFrom` is not checked (errcheck)
|
Lint:
pkg/cybr/ccp/ccp.go#L77
SA1019: tlsConfig.BuildNameToCertificate has been deprecated since Go 1.14: NameToCertificate only allows associating a single certificate with a given name. Leave that field nil to let the library select the first compatible chain from Certificates. (staticcheck)
|
Lint:
pkg/cybr/helpers/authenticators/aws/cli/cli.go#L51
ineffectual assignment to err (ineffassign)
|
Lint:
pkg/cybr/conjur/conjurrc.go#L76
S1038: should use fmt.Printf instead of fmt.Print(fmt.Sprintf(...)) (gosimple)
|
Lint:
pkg/cybr/api/client.go#L62
Error return value of `dataEncoder.Encode` is not checked (errcheck)
|
Lint:
cmd/accounts.go#L125
Error return value of `prettyprint.PrintJSON` is not checked (errcheck)
|
Lint:
cmd/accounts.go#L149
Error return value of `prettyprint.PrintJSON` is not checked (errcheck)
|
Lint:
cmd/accounts.go#L193
Error return value of `prettyprint.PrintJSON` is not checked (errcheck)
|
Lint:
cmd/accounts.go#L461
Error return value of `getAccountsCmd.MarkFlagRequired` is not checked (errcheck)
|
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/.
|
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|