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:
parent
a4cb7c34f9
commit
2b8ee777b0
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue