Patch: Add init and cleanup functions to registry backends and call them if they are defined
realrichardsharpe at gmail.com
Sun Jan 11 12:59:44 MST 2015
On Sat, Jan 10, 2015 at 1:02 PM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> Hi folks,
> Sometimes, as in my zookeeper backend, you need an init and cleanup function.
> This small patch provides that.
> Please provide feedback or push if OK ...
A small update. If the init function fails, we should not install it.
Rather, we should print a level 0 message in the log.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2532 bytes
Desc: not available
More information about the samba-technical