cc2f783975
Previously, a 'plugin not found' error would be returned if a plugin to be retrieved was found but disabled. This was misleading and incorrect. Now, a new error plugin.ErrDisabled is returned in this case. This makes the error message when trying to statically start plugins (from daemon.json or dockerd command line) accurate. Signed-off-by: David Sheets <dsheets@docker.com> Upstream-commit: e33d598059d8af8c57995a2c52f1f9f5691c09e8 Component: engine