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

fix DescribeAlarms body scope

This commit is contained in:
Michelle Noorali & Josh Lane 2015-01-22 14:53:37 -08:00
parent 555b78a300
commit 4bab7217a5

View file

@ -51,8 +51,8 @@ module Fog
response = Excon::Response.new response = Excon::Response.new
response.status = 200 response.status = 200
response.body = { response.body = {
'DescribeAlarmsResult' => results, 'DescribeAlarmsResult' => { 'MetricAlarms' => results },
'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id } 'ResponseMetadata' => { 'RequestId' => Fog::AWS::Mock.request_id }
} }
response response
end end