1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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.
This commit is contained in:
David Shrewsbury 2015-04-23 10:52:08 -04:00 committed by Matt Clay
parent 4ea6bded61
commit c29ae705f0

View file

@ -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
) )