mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix auto-discovery for HP Cloud by fog bin
This commit is contained in:
parent
41494239e6
commit
54986b0e63
1 changed files with 3 additions and 3 deletions
|
@ -4,11 +4,11 @@ class HP < Fog::Bin
|
||||||
def class_for(key)
|
def class_for(key)
|
||||||
case key
|
case key
|
||||||
when :cdn
|
when :cdn
|
||||||
Fog::HP::CDN
|
Fog::CDN::HP
|
||||||
when :compute
|
when :compute
|
||||||
Fog::HP::Compute
|
Fog::Compute::HP
|
||||||
when :storage
|
when :storage
|
||||||
Fog::HP::Storage
|
Fog::Storage::HP
|
||||||
else
|
else
|
||||||
raise ArgumentError, "Unrecognized service: #{key}"
|
raise ArgumentError, "Unrecognized service: #{key}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue