mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add warning in containerCreate response
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
6072e6bfd2
commit
5d6023cf8e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func (daemon *Daemon) containerCreate(params types.ContainerCreateConfig, manage
|
|||
|
||||
err = daemon.verifyNetworkingConfig(params.NetworkingConfig)
|
||||
if err != nil {
|
||||
return types.ContainerCreateResponse{}, err
|
||||
return types.ContainerCreateResponse{Warnings: warnings}, err
|
||||
}
|
||||
|
||||
if params.HostConfig == nil {
|
||||
|
|
Loading…
Reference in a new issue