dotcloud/docker

View on GitHub
api/server/httputils/httputils.go

Summary

Maintainability
A
40 mins
Test Coverage

Function ReadJSON has 6 return statements (exceeds 4 allowed).
Open

func ReadJSON(r *http.Request, out interface{}) error {
    err := CheckForJSON(r)
    if err != nil {
        return err
    }
Severity: Major
Found in api/server/httputils/httputils.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status