Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugin: fix process leak when Setup() fails (#9557)
We've noticed some leftover processes from vault plugins on our boxes. Some of them were even left over from previous instances of the service and reparented to init. This could cause issues if too many of them accumulate. When running with TRACE logging the logs showed that there was an error return by the call to Setup() the plugin. Looking through the code it looks like we do not call Cleanup() in that case. Co-authored-by: Sorin Dumitru <[email protected]>
- Loading branch information