Comment 5 for bug 1558173

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/8.0)

Reviewed: https://review.openstack.org/370721
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=1585bbe171fc8011b493a52abd7ee3e55e9d15c0
Submitter: Jenkins
Branch: stable/8.0

commit 1585bbe171fc8011b493a52abd7ee3e55e9d15c0
Author: Aleksey Kasatkin <email address hidden>
Date: Wed Mar 16 19:38:40 2016 +0200

    Accept both 200 and 202 if no particular result is awaited

    When deferred task is started successfully API can return either 200
    or 202 depending on task status. So, we should not rely on particular value
    if caller did not set it (comparand) explcitly.

    Change-Id: I4c596cd0b591ef5985e2727fe204518d74a61332
    Closes-Bug: #1558173
    (cherry picked from commit 3e4da833e5e52064615059decce1b58c4e333ea9)