dotcloud/docker

View on GitHub
runconfig/config.go

Summary

Maintainability
A
55 mins
Test Coverage

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

func decodeContainerConfig(src io.Reader, si *sysinfo.SysInfo) (*container.Config, *container.HostConfig, *network.NetworkingConfig, error) {
    var w container.CreateRequest
    if err := loadJSON(src, &w); err != nil {
        return nil, nil, nil, err
    }
Severity: Major
Found in runconfig/config.go - About 55 mins to fix

    There are no issues that match your filters.

    Category
    Status