1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[openstack] orchestration: add missing collection requires, path variable already contains tenant_id

This commit is contained in:
Maurice Schreiber 2015-08-11 15:49:44 +02:00
parent cd8cbe3da3
commit 468f6acffe
5 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,4 @@
require 'fog/openstack/models/collection'
require 'fog/openstack/models/orchestration/event'
module Fog

View file

@ -1,3 +1,4 @@
require 'fog/openstack/models/collection'
require 'fog/openstack/models/orchestration/resource'
module Fog

View file

@ -1,3 +1,4 @@
require 'fog/openstack/models/collection'
require 'fog/openstack/models/orchestration/stack'
module Fog

View file

@ -1,3 +1,4 @@
require 'fog/openstack/models/collection'
require 'fog/openstack/models/orchestration/template'
module Fog

View file

@ -155,7 +155,7 @@ module Fog
'X-Auth-User' => @openstack_username,
'X-Auth-Key' => @openstack_api_key
}.merge!(params[:headers] || {}),
:path => "#{@path}/#{@tenant_id}/#{params[:path]}",
:path => "#{@path}/#{params[:path]}",
:query => params[:query]
}))
rescue Excon::Errors::Unauthorized => error