feat: error with request-id #75
Annotations
10 errors and 1 warning
sonarcloud:
client.go#L24
time-naming: var defaultRetryWaitMin is of type time.Duration; don't use unit-specific suffix "Min" (revive)
|
sonarcloud:
client.go#L62
cognitive complexity 69 of func `New` is high (> 30) (gocognit)
|
sonarcloud:
client.go#L97
`if o.BaseURL == ""` has complex nested blocks (complexity: 5) (nestif)
|
sonarcloud:
client.go#L114
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"base url is required\")" (err113)
|
sonarcloud:
client.go#L134
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
sonarcloud:
client.go#L137
Magic number: 90, in <assign> detected (mnd)
|
sonarcloud:
client.go#L156
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to cast transport to http.Transport\")" (err113)
|
sonarcloud:
client.go#L176
Error return value is not checked (errcheck)
|
sonarcloud:
client.go#L178
Error return value is not checked (errcheck)
|
sonarcloud:
client.go#L182
`if o.InsecureSkipVerify` has complex nested blocks (complexity: 8) (nestif)
|
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
|