1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/system
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
..
cmd.go refactor help func in CLI 2016-11-18 13:30:44 -08:00
df.go always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
events.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
info.go api: types: keep info.SecurityOptions a string slice 2016-11-21 14:45:05 -08:00
inspect.go Fix docker plugin inspect <unkown object> issue on Windows 2016-12-27 13:19:16 -08:00
prune.go always add but hide experimental cmds and flags 2016-11-08 04:55:27 -08:00
version.go Align output of docker version again 2016-11-29 14:07:39 -08:00