1
0
Fork 0
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:
Frederick Cheung 2012-01-15 18:09:04 +00:00
parent d746580454
commit b44f1b2c59

View file

@ -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