2013-09-12 16:34:43 |
Gary Poster |
description |
Extend status with error information to provide a better hook error reporting.
1) add a `Data map[string]interface{}` to statusDoc
2) add that field to all the API bits (including the allwatcher status stream)
3) add relevant data in case of relation hook errors (so: relation tag, hook kind, remote unit)
4) make sure that data comes out in the AllWatcher stream
5) make sure it's also put into status output
Also add dict to machineStatus and keep similar signatures in sync. |
Extend status with error information to provide a better hook error reporting.
1) add a `Data map[string]interface{}` to statusDoc
2) add that field to all the API bits (including the allwatcher status stream)
3) add relevant data in case of relation hook errors (so: relation tag, hook kind, remote unit)
4) make sure that data comes out in the AllWatcher stream
5) make sure it's also put into status output
Gary adds this one:
6) make sure that we can correlate relation error identifiers with AllWatcher relation info. I think we are using the tag as the AllWatcher relation identifier, in which case we don't need to add anything, but I'd like to verify that.
Also add dict to machineStatus and keep similar signatures in sync. |
|