forked from TrueCloudLab/distribution
a1b49d3d17
Allow health checkers to abort if the request context is canceled. Modify the checkers to respect context cancelation and return wrapped errors so the caller of CheckStatus() would be able to discriminate true failed checks from checks which were aborted because the context became done. Signed-off-by: Cory Snider <csnider@mirantis.com> |
||
---|---|---|
.. | ||
api | ||
checks | ||
doc.go | ||
health.go | ||
health_test.go |