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:
parent
cd8cbe3da3
commit
468f6acffe
5 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
require 'fog/openstack/models/collection'
|
||||
require 'fog/openstack/models/orchestration/event'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require 'fog/openstack/models/collection'
|
||||
require 'fog/openstack/models/orchestration/resource'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require 'fog/openstack/models/collection'
|
||||
require 'fog/openstack/models/orchestration/stack'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
require 'fog/openstack/models/collection'
|
||||
require 'fog/openstack/models/orchestration/template'
|
||||
|
||||
module Fog
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue