asteris-llc/converge

View on GitHub
render/factory.go

Summary

Maintainability
A
45 mins
Test Coverage

Function getParamOverrides has 7 return statements (exceeds 4 allowed).
Open

func getParamOverrides(gFunc func() *graph.Graph, id string) (ValueThunk, bool) {
    name := graph.BaseID(id)
    f := func() (resource.Value, bool, error) { return resource.Value(""), false, nil }
    if strings.HasPrefix(name, "param") {
        f = func() (resource.Value, bool, error) {
Severity: Major
Found in render/factory.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status