mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
92efad001c
drvRegistry isnt aware if a plugin is v1 or v2. Plugin-v2 provides a way for user to disable and remove plugins. But unfortunately, there isnt any api to advertise the removal to drvRegistry. Hence there is no way to handle "docker plugin rm" of installed plugin. In order to support the case of "docker plugin install x" followed by "docker plugin rm x" followed by reinstalling of plugin x "docker plugin install x", drvRegistry must allow overriding any existing plugin with the same name. The protection in plugin infra will prevent willful override of existing plugin. Signed-off-by: Madhu Venugopal <madhu@docker.com> |
||
---|---|---|
.. | ||
drvregistry.go | ||
drvregistry_test.go |