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:
commit
ac7a33b45c
1 changed files with 1 additions and 1 deletions
|
@ -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{}
|
||||||
|
|
Loading…
Reference in a new issue