11cf394e5e
Before this patch, if the plugin's `config.json` is successfully removed but the main plugin state dir could not be removed for some reason (e.g. leaked mount), it will prevent the daemon from being able to be restarted. This patches changes this to atomically remove the plugin such that on daemon restart we can detect that there was an error and re-try. It also changes the logic so that it only logs errors on restore rather than erroring out the daemon. This also removes some code which is now duplicated elsewhere. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
v2 | ||
backend_linux.go | ||
backend_unsupported.go | ||
blobstore.go | ||
defs.go | ||
manager.go | ||
manager_linux.go | ||
manager_solaris.go | ||
manager_test.go | ||
manager_windows.go | ||
store.go | ||
store_test.go |