1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/plugin
Yong Tang 05426c80d9 Fix docker plugin inspect <unkown object> issue on Windows
This fix is a follow up for comment:
https://github.com/docker/docker/pull/29186/files#r91277345

While #29186 addresses the issue of `docker inspect <unknown object>`
on Windows, it actually makes `docker plugin inspect <unknown object>`
out `object not found` on Windows as well. This is actually misleading
as plugin is not supported on Windows.

This fix reverted the change in #29186 while at the same time,
checks `not supported` in `docker inspect <unknown object>` so that
- `docker plugin inspect <unknown object>` returns `not supported` on Windows
- `docker inspect <unknown object>` returns `not found` on Windows

This fix is related to #29186 and #29185.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit 0b3c10ac4d)
2016-12-27 13:19:16 -08:00
..
distribution remove old media type compat for plugins 2016-12-12 13:25:27 -08:00
store Use GetByName to check for collision before create any context in plugin creation 2016-12-27 12:10:11 -08:00
v2 fix devices in plugins 2016-12-15 22:19:28 -08:00
backend_linux.go Use GetByName to check for collision before create any context in plugin creation 2016-12-27 12:10:11 -08:00
backend_unsupported.go Fix docker plugin inspect <unkown object> issue on Windows 2016-12-27 13:19:16 -08:00
manager.go Make graphdriver plugin use plugin BasePath 2016-12-15 22:19:22 -08:00
manager_linux.go Fix issues with plugin and --live-restore 2016-12-13 19:56:44 -08:00
manager_solaris.go Make v2/Plugin accesses safe. 2016-12-09 14:13:13 -08:00
manager_windows.go Make v2/Plugin accesses safe. 2016-12-09 14:13:13 -08:00