зеркало из https://github.com/github/fog.git
Resolve issue where metadata was being discarded too early
This commit is contained in:
Родитель
a4cb7c34f9
Коммит
2b8ee777b0
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче