42Atomys/webhooked

View on GitHub
internal/server/v1alpha1/handlers.go

Summary

Maintainability
A
50 mins
Test Coverage

Function webhookService has 8 return statements (exceeds 4 allowed).
Open

func webhookService(s *Server, spec *config.WebhookSpec, r *http.Request) (responseTemplare string, err error) {
    ctx := r.Context()

    if spec == nil {
        return "", config.ErrSpecNotFound
Severity: Major
Found in internal/server/v1alpha1/handlers.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status