a2e3ea6dc9
There were multiple bugs here: 1. Reattach unmarshalling always returned an error because you can't unmarshal into a nil pointer. 2. The hook data wasn't being saved because it was put on the request struct, not the response struct. 3. The plugin configuration should only have reattach *or* a command set. Not both. 4. Setting Done=true meant the hook was never re-run on agent restart so reattaching was never attempted. |
||
---|---|---|
.. | ||
logging | ||
proto | ||
client.go | ||
logmon.go | ||
plugin.go | ||
server.go |