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:
commit
9a1f13f799
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue