cpg1111/maestro

View on GitHub
pipeline/healthcheck.go

Summary

Maintainability
A
35 mins
Test Coverage

Function healthcheckHTTPGet has 5 return statements (exceeds 4 allowed).
Open

func healthcheckHTTPGet(endpoint, response string) error {
    resp, err := http.Get(endpoint)
    if err != nil {
        return err
    }
Severity: Major
Found in pipeline/healthcheck.go - About 35 mins to fix

    exported const PTAttach should have comment or be unexported
    Open

    const PTAttach = "PTRACE_ATTACH"
    Severity: Minor
    Found in pipeline/healthcheck.go by golint

    There are no issues that match your filters.

    Category
    Status