dotcloud/docker

View on GitHub
libnetwork/options/options.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func GenerateFromModel(options Generic, model interface{}) (interface{}, error) {
    modType := reflect.TypeOf(model)

    // If the model is of pointer type, we need to dereference for New.
    resType := reflect.TypeOf(model)
Severity: Major
Found in libnetwork/options/options.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status