dotcloud/docker

View on GitHub
daemon/update.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method Daemon.update has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (daemon *Daemon) update(name string, hostConfig *container.HostConfig) error {
    if hostConfig == nil {
        return nil
    }

Severity: Minor
Found in daemon/update.go - About 1 hr to fix

    Method Daemon.update has 9 return statements (exceeds 4 allowed).
    Open

    func (daemon *Daemon) update(name string, hostConfig *container.HostConfig) error {
        if hostConfig == nil {
            return nil
        }
    
    
    Severity: Major
    Found in daemon/update.go - About 55 mins to fix

      There are no issues that match your filters.

      Category
      Status