mirror of
https://github.com/kemko/nomad.git
synced 2026-01-16 07:15:40 +03:00
Without this change, alloc_endpoint cancel the context passed to handler when we detect EOF. This races driver in setting exit code; and we run into a case where the exec process terminates cleanly yet we attempt to mark it as failed with context error. Here, we rely on the driver to handle errors returned from Stream and without racing to set an error.
8.1 KiB
8.1 KiB