mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[openstack|storage] added OpenStack Storage to lib/fog/storage.rb
This commit is contained in:
parent
9ace35ce5f
commit
2deb89e017
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ module Fog
|
||||||
when :rackspace
|
when :rackspace
|
||||||
require 'fog/rackspace/storage'
|
require 'fog/rackspace/storage'
|
||||||
Fog::Storage::Rackspace.new(attributes)
|
Fog::Storage::Rackspace.new(attributes)
|
||||||
|
when :openstack
|
||||||
|
require 'fog/openstack/storage'
|
||||||
|
Fog::Storage::OpenStack.new(attributes)
|
||||||
else
|
else
|
||||||
raise ArgumentError.new("#{provider} is not a recognized storage provider")
|
raise ArgumentError.new("#{provider} is not a recognized storage provider")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue