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.
Reviewed: https:/ /review. openstack. org/187119 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=b4c1d73ad56 e0705d1c5dd1fc4 f1d89b09fceff1
Committed: https:/
Submitter: Jenkins
Branch: master
commit b4c1d73ad56e070 5d1c5dd1fc4f1d8 9b09fceff1
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: I7c7a90f9933bec 2ab45595df9dc60 0a6cba65666