74a72ecef0
The return value from attachment create and update contains the connection_info without the 'data' sub-dictionary in it, which is a non-backwards-compatible change. This patch adds a translation helper method to volume/cinder.py to build the connection_info dict back to be a nested dict with the 'data' key in it. We will switch to the version without the 'data' key at a later time with the aim of removing complexity. The test_swap_volume_with_new_attachment_id_driver_swap_fails test is updated a bit to validate the attachment_update return value is used properly. Change-Id: I8924da50867c1447cf6e441c85393429d21ef74a |
||
---|---|---|
.. | ||
__init__.py | ||
cinder.py |