mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
enable_metrics_collection requires a granularity argument (1Minute is the only legal value)
This commit is contained in:
parent
d746580454
commit
b44f1b2c59
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ module Fog
|
|||
reload
|
||||
end
|
||||
|
||||
def enable_metrics_collection(metrics = {})
|
||||
def enable_metrics_collection(granularity = '1Minute', metrics = {})
|
||||
requires :id
|
||||
connection.enable_metrics_collection(id, 'Metrics' => metrics)
|
||||
connection.enable_metrics_collection(id, granularity, 'Metrics' => metrics)
|
||||
reload
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue