mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
When a plugin fails to start, we still incorrectly mark it as enabled. This change verifies that we can dial to the plugin socket to confirm that the plugin is functional and only then mark the plugin as enabled. Also, dont delete the plugin on install, if only the enable fails. Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com> Upstream-commit: 1b41b7a4f4c824bbfdb1acac3e8c8505e0fdb84f Component: engine