1
0
Fork 0
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:
allencloud 2016-08-27 01:06:33 +08:00
parent 6072e6bfd2
commit 5d6023cf8e

View file

@ -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 {