diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-11 18:39:12 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-08-17 15:04:36 +0800 |
commit | 36a6fe993a5b86828cf4d883112d79f62561a8bf (patch) | |
tree | 7e3c1e5b8e2e21d81134f9406b486680102f3c4c /utils/test/reporting/api/handlers/projects.py | |
parent | 8fcf54dee04407c6f04ecf47e703dba13a3e1151 (diff) |
prepare for testresults.opnfv.org's watchdog
Due to the frequent crash in testresults.opnfv.org, watchdog will be introduced
to monitor the status of docker daemon/testapi container/reporting container,
to make timely recovery, to make things clear, some refactors included
in this patch:
1) leverage container name and image name rather than id
2) address three conditions during the update
3) refactor code to be more readable
Change-Id: Ifa7a6fd94db62d532026b5fad33835b0e2abd9af
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/reporting/api/handlers/projects.py')
0 files changed, 0 insertions, 0 deletions