open-consul/command/debug
Daniel Nephin 064c43ee69 debug: restore cancel on SigInt
Some previous changes broke interrupting the debug on SigInterupt. This change restores
the original behaviour by passing a context to requests.

Since a new API client function was required to pass the context, I had
it also return an io.ReadCloser, so that output can be streamed to files
instead of fully buffering in process memory.
2021-08-18 12:29:34 -04:00
..
debug.go debug: restore cancel on SigInt 2021-08-18 12:29:34 -04:00
debug_test.go debug: restore cancel on SigInt 2021-08-18 12:29:34 -04:00