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

Resolve issue where metadata was being discarded too early

This commit is contained in:
Tom Noonan II 2014-05-09 15:54:36 -05:00
parent a4cb7c34f9
commit 2b8ee777b0
2 changed files with 4 additions and 4 deletions

View file

@ -13,10 +13,10 @@ module Fog
def all(options={})
requires :entity
data = service.list_alarms(entity.identity, options).body['values']
data = service.list_alarms(entity.identity, options).body
self.marker = data['metadata']['next_marker']
load(data)
load(data['values'])
end
def get(alarm_id)

View file

@ -13,10 +13,10 @@ module Fog
def all(options={})
requires :entity
data = service.list_checks(entity.identity, options).body['values']
data = service.list_checks(entity.identity, options).body
self.marker = data['metadata']['next_marker']
load(data)
load(data['values'])
end
def get(check_id)