diff --git a/lib/fog/storm_on_demand/models/compute/balancers.rb b/lib/fog/storm_on_demand/models/compute/balancers.rb index 7663c8c9e..d23eeed2d 100644 --- a/lib/fog/storm_on_demand/models/compute/balancers.rb +++ b/lib/fog/storm_on_demand/models/compute/balancers.rb @@ -10,7 +10,7 @@ module Fog model Fog::Compute::StormOnDemand::Balancer def all - data = connection.list_balancers.body['loadbalancers'] + data = connection.list_balancers.body['items'] load(data) end diff --git a/lib/fog/storm_on_demand/models/compute/configs.rb b/lib/fog/storm_on_demand/models/compute/configs.rb index deecdb977..42129b1b3 100644 --- a/lib/fog/storm_on_demand/models/compute/configs.rb +++ b/lib/fog/storm_on_demand/models/compute/configs.rb @@ -10,7 +10,7 @@ module Fog model Fog::Compute::StormOnDemand::Config def all - data = connection.list_configs.body['configs'] + data = connection.list_configs.body['items'] load(data) end diff --git a/lib/fog/storm_on_demand/models/compute/images.rb b/lib/fog/storm_on_demand/models/compute/images.rb index 6112f3381..514a75d4b 100644 --- a/lib/fog/storm_on_demand/models/compute/images.rb +++ b/lib/fog/storm_on_demand/models/compute/images.rb @@ -10,7 +10,7 @@ module Fog model Fog::Compute::StormOnDemand::Image def all - data = connection.list_images.body['images'] + data = connection.list_images.body['items'] load(data) end diff --git a/lib/fog/storm_on_demand/models/compute/servers.rb b/lib/fog/storm_on_demand/models/compute/servers.rb index 33dff7e9d..22ed90f6d 100644 --- a/lib/fog/storm_on_demand/models/compute/servers.rb +++ b/lib/fog/storm_on_demand/models/compute/servers.rb @@ -10,7 +10,7 @@ module Fog model Fog::Compute::StormOnDemand::Server def all - data = connection.list_servers.body['servers'] + data = connection.list_servers.body['items'] load(data) end diff --git a/lib/fog/storm_on_demand/models/compute/templates.rb b/lib/fog/storm_on_demand/models/compute/templates.rb index 726397223..b0a9a406a 100644 --- a/lib/fog/storm_on_demand/models/compute/templates.rb +++ b/lib/fog/storm_on_demand/models/compute/templates.rb @@ -10,7 +10,7 @@ module Fog model Fog::Compute::StormOnDemand::Template def all - data = connection.list_templates.body['templates'] + data = connection.list_templates.body['items'] load(data) end