1
0
Fork 0
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:
Dr Nic Williams 2012-05-17 15:42:57 -07:00
parent 41494239e6
commit 54986b0e63

View file

@ -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