ckaznocha/marathon-resource

View on GitHub
cmd/marathon-resource/behaviors/template.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func parsePayload(p Params, path string) (io.Reader, error) {
    var (
        replacements = map[string]string{}
        buf          = bytes.NewBuffer([]byte{})
    )
Severity: Major
Found in cmd/marathon-resource/behaviors/template.go - About 35 mins to fix

There are no issues that match your filters.

Category
Status