Extend the DESCRIBE_VOLUMES_RESPONSE to include the tagSet as documented by AWS on http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeVolumesSetItemResponseType.html . This is needed to pass the test that was added in previous commit.
This commit is contained in:
parent
53fdf330ee
commit
17356fe56c
2 changed files with 14 additions and 0 deletions
|
|
@ -1255,6 +1255,10 @@ class Volume(object):
|
|||
else:
|
||||
return 'available'
|
||||
|
||||
def get_tags(self):
|
||||
tags = ec2_backend.describe_tags(filters={'resource-id': [self.id]})
|
||||
return tags
|
||||
|
||||
|
||||
class Snapshot(object):
|
||||
def __init__(self, snapshot_id, volume, description):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue