asteris-llc/converge

View on GitHub
apply/apply.go

Summary

Maintainability
A
1 hr
Test Coverage

Function execPipeline has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func execPipeline(ctx context.Context, in *graph.Graph, pipelineF MkPipelineF, renderingPlant *render.Factory, notify *graph.Notifier) (*graph.Graph, error) {
Severity: Minor
Found in apply/apply.go - About 35 mins to fix

    Function execPipeline has 5 return statements (exceeds 4 allowed).
    Open

    func execPipeline(ctx context.Context, in *graph.Graph, pipelineF MkPipelineF, renderingPlant *render.Factory, notify *graph.Notifier) (*graph.Graph, error) {
        var hasErrors error
    
        out, err := in.Transform(ctx,
            notify.Transform(func(meta *node.Node, out *graph.Graph) error {
    Severity: Major
    Found in apply/apply.go - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status