Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/docker: add cause to user-terminated
context.Context
This patch adds a "cause" to the `context.Context` error when the user terminates the process through SIGINT/SIGTERM. This allows us to distinguish the cause of the `context.Context` cancellation. In future we would also be able to improve the UX of printed errors based on the underlying cause. Signed-off-by: Alano Terblanche <[email protected]>
- Loading branch information