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

Merge pull request #12331 from coolljt0725/fix_panic_release_nil_interface

Fix daemon panic when release a nil network interface
This commit is contained in:
Michael Crosby 2015-04-13 10:13:57 -07:00
commit 9a0a4ac02f

View file

@ -583,6 +583,7 @@ func Release(id string) {
if containerInterface == nil {
logrus.Warnf("No network information to release for %s", id)
return
}
for _, nat := range containerInterface.PortMappings {