The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
Find a file
Alessandro Boch 34f4304a71 Sandbox.SetKey() should not reset the osl sandbox on failure
Because the failure would not be on creating the osl sandbox
(which is done by somebody else). It would be on the programming
libnetwork does on the osl sandbox. In case of failure just report
the error. External caller will take care of removing the parent sandbox
via the cleanup on the error handling path. Otherwise the osl sandbox
will never be removed.

Signed-off-by: Alessandro Boch <aboch@docker.com>
2017-03-28 13:17:10 -07:00
libnetwork Sandbox.SetKey() should not reset the osl sandbox on failure 2017-03-28 13:17:10 -07:00