dotcloud/docker

View on GitHub
api/server/router/grpc/grpc_routes.go

Summary

Maintainability
A
35 mins
Test Coverage

Method grpcRouter.serveGRPC has 5 return statements (exceeds 4 allowed).
Open

func (gr *grpcRouter) serveGRPC(ctx context.Context, w http.ResponseWriter, r *http.Request, vars map[string]string) error {
    h, ok := w.(http.Hijacker)
    if !ok {
        return errors.New("handler does not support hijack")
    }
Severity: Major
Found in api/server/router/grpc/grpc_routes.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status