Files
docker-cli/components/engine/integration-cli
Yong Tang c06179cb55 Fix issue caused by duplicate docker plugin create with same names
This fix tries to fix the issue raised in 28684:
1. Duplicate plugin create with the same name will override the old plugin reference
2. In case an error happens in the middle of the plugin creation, plugin directories
   in `/var/lib/docker/plugins` are not cleaned up.

This fix update the plugin store so that `Add()` will return an error if a plugin
with the same name already exist.

This fix also will clean up the directory in `/var/lib/docker/plugins` in case
an error happens in the middle of the plugin creation.

This fix fixes 28684.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Upstream-commit: 662d456928e47162a3af5931356cb05b6a3f9918
Component: engine
2016-11-28 12:37:49 -08:00
..
2016-11-18 15:51:36 +08:00
2016-10-29 15:03:26 +08:00
2016-06-02 17:17:22 +08:00
2016-08-09 09:42:23 +08:00
2016-09-07 17:30:35 -04:00
2016-11-04 13:38:50 -07:00
2016-09-02 19:07:54 -07:00