Update os_server_volume for latest shade

The shade volume API was updated to return a dict rather than the
object as returned by cinder.
pull/18777/head
David Shrewsbury 11 years ago committed by Matt Clay
parent 4ea6bded61
commit c29ae705f0

@ -126,8 +126,8 @@ def main():
module.exit_json( module.exit_json(
changed=True, changed=True,
id=volume.id, id=volume['id'],
attachments=volume.attachments, attachments=volume['attachments'],
openstack=hostvars openstack=hostvars
) )

Loading…
Cancel
Save