1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #1506 from cloudability/master

Add support for a few missing AWS tags in cloudwatch:ListMetrics and ec2:DescribeInstances
This commit is contained in:
Wesley Beary 2013-01-25 13:41:34 -08:00
commit d93f3bfd77
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ module Fog
@metric[name] = value
when 'Dimensions'
@in_dimensions = false
when 'NextToken'
when 'NextMarker', 'NextToken'
@response['ListMetricsResult'][name] = value
when 'RequestId'
@response['ResponseMetadata'][name] = value

View file

@ -34,7 +34,7 @@ module Fog
when 'architecture', 'clientToken', 'dnsName', 'imageId',
'instanceId', 'instanceType', 'ipAddress', 'kernelId',
'keyName', 'platform', 'privateDnsName', 'privateIpAddress', 'ramdiskId',
'reason', 'rootDeviceType'
'reason', 'rootDeviceType', 'virtualizationType'
@instance[name] = value
when 'attachTime'
@block_device_mapping[name] = Time.parse(value)