runconfig/config.go
Function decodeContainerConfig
has 9 return statements (exceeds 4 allowed). Open
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
}