1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #13541 from coolljt0725/remove_reduntant_enter_create

Clean up: remove redundant '\n' in Create
This commit is contained in:
Brian Goff 2015-05-28 10:30:07 -04:00
commit ac7a33b45c

View file

@ -70,7 +70,7 @@ func (daemon *Daemon) Create(config *runconfig.Config, hostConfig *runconfig.Hos
return nil, nil, err return nil, nil, err
} }
if !config.NetworkDisabled && daemon.SystemConfig().IPv4ForwardingDisabled { if !config.NetworkDisabled && daemon.SystemConfig().IPv4ForwardingDisabled {
warnings = append(warnings, "IPv4 forwarding is disabled.\n") warnings = append(warnings, "IPv4 forwarding is disabled.")
} }
if hostConfig == nil { if hostConfig == nil {
hostConfig = &runconfig.HostConfig{} hostConfig = &runconfig.HostConfig{}