mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #696 from fcheung/autoscale-metrics-fix
enable_metrics_collection requires a granularity argument
This commit is contained in:
commit
5bd9881a7e
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ module Fog
|
||||||
reload
|
reload
|
||||||
end
|
end
|
||||||
|
|
||||||
def enable_metrics_collection(metrics = {})
|
def enable_metrics_collection(granularity = '1Minute', metrics = {})
|
||||||
requires :id
|
requires :id
|
||||||
connection.enable_metrics_collection(id, 'Metrics' => metrics)
|
connection.enable_metrics_collection(id, granularity, 'Metrics' => metrics)
|
||||||
reload
|
reload
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue