This fix is a follow up based on comment: and a follow up to: https://github.com/docker/docker/pull/29222#issuecomment-268908937 As #28789 has been merged in, it is possible for `docker plugin inspect` to search based on Name or ID Prefix. However, ID-based `docker plugin enable/disable/rm/set` are still not possible. This fix addes test for `docker plugin enable/disable/rm/set` to search based on: - Full ID - Full Name - Partial ID (prefix) The actual fix is done in #29487. This fix is a follow up of #28789 and #29487. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> Upstream-commit: c80e74e8cc28e9b6197e68321f2402c30de3e895 Component: engine