Comment 4 for bug 1453599

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/187119
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=b4c1d73ad56e0705d1c5dd1fc4f1d89b09fceff1
Submitter: Jenkins
Branch: master

commit b4c1d73ad56e0705d1c5dd1fc4f1d89b09fceff1
Author: Christian Schwede <email address hidden>
Date: Mon Jun 1 06:50:33 2015 +0000

    Make swift-recon compatible for servers without storage policies

    Swift recon introduced a new key for storage policies, and the CLI expected this
    key in the server response. However, if one updates the CLI but not yet the
    server an exception will be raised, because there is no default value and no
    check if the key is included in the response.

    This change checks if the policies key is included in the response and updates
    one test to ensure backward compability.

    Closes-Bug: 1453599

    Change-Id: I7c7a90f9933bec2ab45595df9dc600a6cba65666