diff --git a/lib/fog/compute/models/ecloud/servers.rb b/lib/fog/compute/models/ecloud/servers.rb index 16f537a58..e1904bbdb 100644 --- a/lib/fog/compute/models/ecloud/servers.rb +++ b/lib/fog/compute/models/ecloud/servers.rb @@ -37,7 +37,9 @@ module Fog private def _resource_entities - connection.get_vdc(href).body[:ResourceEntities][:ResourceEntity] + if Hash === resource_entities = connection.get_vdc(href).body[:ResourceEntities] + resource_entities[:ResourceEntity] + end end def _vapps