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

Merge pull request #655 from hom/master

Simple bug in saving metric_statistic model
This commit is contained in:
Wesley Beary 2011-12-14 06:41:52 -08:00
commit 9a1f13f799

View file

@ -25,7 +25,6 @@ module Fog
put_opts = {'MetricName' => metric_name, 'Unit' => unit}
put_opts.merge!('Dimensions' => dimensions) if dimensions
put_opts.merge!('Timestamp' => dimensions) if timestamp
if value
put_opts.merge!('Value' => value)
else
@ -43,4 +42,4 @@ module Fog
end
end
end
end
end