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

Bug fix, metric_statistic#save would always fail

This commit is contained in:
bmiller 2011-12-13 14:32:30 -08:00
parent 71d52a51bf
commit 934c76b1d4

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