open-vault/builtin/plugin
Sorin Dumitru bb92e8840a
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 <sorindumitru@users.noreply.github.com>
2020-07-22 10:29:50 -04:00
..
backend.go plugin: fix process leak when Setup() fails (#9557) 2020-07-22 10:29:50 -04:00
backend_lazyLoad_test.go Add a unit test for plugin initialization (#7158) 2019-09-26 10:01:45 -04:00
backend_test.go Update to api 1.0.1 and sdk 0.1.8 2019-04-15 14:10:07 -04:00