ckaznocha/marathon-resource

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

Summary

Maintainability
A
55 mins
Test Coverage

Function Out has 9 return statements (exceeds 4 allowed).
Open

func Out(input InputJSON, appJSONPath string, apiclient marathon.Marathoner) (IOOutput, error) {

    jsondata, err := parsePayload(input.Params, appJSONPath)
    if err != nil {
        return IOOutput{}, err
Severity: Major
Found in cmd/marathon-resource/behaviors/behaviors.go - About 55 mins to fix

2: cannot find package "github.com/ckaznocha/marathon-resource/cmd/marathon-resource/marathon" in any of:
Open

    "github.com/ckaznocha/marathon-resource/cmd/marathon-resource/marathon"

Your code does not pass gofmt in 4 places. Go fmt your code!
Open

package behaviors

There are no issues that match your filters.

Category
Status