distribution/health/api
Cory Snider a1b49d3d17 health: plumb contexts into health checks
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>
2023-11-27 15:38:34 -05:00
..
api.go Merge pull request #3766 from thaJeztah/gofumpt 2022-11-04 12:19:53 +01:00
api_test.go health: plumb contexts into health checks 2023-11-27 15:38:34 -05:00