daemon/update.go
Method Daemon.update
has 54 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (daemon *Daemon) update(name string, hostConfig *container.HostConfig) error {
if hostConfig == nil {
return nil
}
Method Daemon.update
has 9 return statements (exceeds 4 allowed). Open
Open
func (daemon *Daemon) update(name string, hostConfig *container.HostConfig) error {
if hostConfig == nil {
return nil
}