vorteil/direktiv

View on GitHub
pkg/flow/grpc-instances.go

Summary

Maintainability
A
45 mins
Test Coverage

Method server.getInstance has 7 return statements (exceeds 4 allowed).
Open

func (srv *server) getInstance(ctx context.Context, namespace, instanceID string) (*enginerefactor.Instance, error) {
    id, err := uuid.Parse(instanceID)
    if err != nil {
        return nil, err
    }
Severity: Major
Found in pkg/flow/grpc-instances.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status