Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alloc-lifecycle: Fix restart with empty body #5823

Merged
merged 2 commits into from
Jun 12, 2019
Merged

Commits on Jun 12, 2019

  1. alloc-lifecycle: Fix restart with empty body

    Currently when you submit a manual request to the alloc lifecycle API
    with a version of Curl that will submit empty bodies, the alloc restart
    api will fail with an EOF error.
    
    This behaviour is undesired, as it is reasonable to not submit a body at
    all when restarting an entire allocation rather than an individual task.
    
    This fixes it by ignoring EOF (not unexpected EOF) errors and treating
    them as entire task restarts.
    endocrimes committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    0f3d45b View commit details
    Browse the repository at this point in the history
  2. update changelog

    endocrimes committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    91c7cf9 View commit details
    Browse the repository at this point in the history