Fix 7 code smells #580
Annotations
10 errors
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)
|
pkg/cybr/conjur/conjurrc.go#L76
S1038: should use fmt.Printf instead of fmt.Print(fmt.Sprintf(...)) (gosimple)
|
pkg/cybr/helpers/authenticators/aws/cli/cli.go#L51
ineffectual assignment to err (ineffassign)
|
pkg/cybr/helpers/httpjson/httpjson.go#L51
Error return value of `buf.ReadFrom` is not checked (errcheck)
|
pkg/cybr/cem/cem.go#L43
Error return value of `dataEncoder.Encode` is not checked (errcheck)
|
pkg/cybr/api/client.go#L62
Error return value of `dataEncoder.Encode` is not checked (errcheck)
|
cmd/accounts.go#L117
Error return value of `prettyprint.PrintJSON` is not checked (errcheck)
|
cmd/accounts.go#L141
Error return value of `prettyprint.PrintJSON` is not checked (errcheck)
|
cmd/accounts.go#L185
Error return value of `prettyprint.PrintJSON` is not checked (errcheck)
|
cmd/accounts.go#L378
Error return value of `getAccountsCmd.MarkFlagRequired` is not checked (errcheck)
|
The logs for this run have expired and are no longer available.
Loading