vorteil/direktiv

View on GitHub
pkg/service/knative_client.go

Summary

Maintainability
A
40 mins
Test Coverage

Method knativeClient.createService has 6 return statements (exceeds 4 allowed).
Open

func (c *knativeClient) createService(sv *core.ServiceFileData) error {
    if sv.Image == "" {
        return errors.New("image field is empty or not set")
    }

Severity: Major
Found in pkg/service/knative_client.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status