pipeline/healthcheck.go
Function healthcheckHTTPGet
has 5 return statements (exceeds 4 allowed). Open
Open
func healthcheckHTTPGet(endpoint, response string) error {
resp, err := http.Get(endpoint)
if err != nil {
return err
}
exported const PTAttach should have comment or be unexported Open
Open
const PTAttach = "PTRACE_ATTACH"
- Exclude checks