mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Change response parameter
This commit is contained in:
parent
bf844bee65
commit
47b2418801
5 changed files with 5 additions and 5 deletions
|
@ -10,7 +10,7 @@ module Fog
|
||||||
model Fog::Compute::StormOnDemand::Balancer
|
model Fog::Compute::StormOnDemand::Balancer
|
||||||
|
|
||||||
def all
|
def all
|
||||||
data = connection.list_balancers.body['loadbalancers']
|
data = connection.list_balancers.body['items']
|
||||||
load(data)
|
load(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ module Fog
|
||||||
model Fog::Compute::StormOnDemand::Config
|
model Fog::Compute::StormOnDemand::Config
|
||||||
|
|
||||||
def all
|
def all
|
||||||
data = connection.list_configs.body['configs']
|
data = connection.list_configs.body['items']
|
||||||
load(data)
|
load(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ module Fog
|
||||||
model Fog::Compute::StormOnDemand::Image
|
model Fog::Compute::StormOnDemand::Image
|
||||||
|
|
||||||
def all
|
def all
|
||||||
data = connection.list_images.body['images']
|
data = connection.list_images.body['items']
|
||||||
load(data)
|
load(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ module Fog
|
||||||
model Fog::Compute::StormOnDemand::Server
|
model Fog::Compute::StormOnDemand::Server
|
||||||
|
|
||||||
def all
|
def all
|
||||||
data = connection.list_servers.body['servers']
|
data = connection.list_servers.body['items']
|
||||||
load(data)
|
load(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ module Fog
|
||||||
model Fog::Compute::StormOnDemand::Template
|
model Fog::Compute::StormOnDemand::Template
|
||||||
|
|
||||||
def all
|
def all
|
||||||
data = connection.list_templates.body['templates']
|
data = connection.list_templates.body['items']
|
||||||
load(data)
|
load(data)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue