Merge pull request #3158 from weaveworks/2.0

merge branch 2.0
This commit is contained in:
Matthias Radestock authored and GitHub committed 2017-10-31 08:11:17 +00:00
commit 7aad364116
3 files changed
+12 -10

No files matched your search

+3 -1
View File
@@ -189,7 +189,9 @@ func (c *CNIPlugin) CmdDel(args *skel.CmdArgs) error {
} else {
err = ipam.ExecDel(conf.IPAM.Type, args.StdinData)
}
logOnStderr(fmt.Errorf("unable to release IP address: %s", err))
if err != nil {
logOnStderr(fmt.Errorf("unable to release IP address: %s", err))
}
return nil
}