mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
added lb to bin
This commit is contained in:
parent
1f16149748
commit
18b2de8c50
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,8 @@ class HP < Fog::Bin
|
|||
|
||||
def class_for(key)
|
||||
case key
|
||||
when :lb
|
||||
Fog::HP::LB
|
||||
when :dns
|
||||
Fog::HP::DNS
|
||||
when :block_storage
|
||||
|
@ -21,6 +23,8 @@ class HP < Fog::Bin
|
|||
def [](service)
|
||||
@@connections ||= Hash.new do |hash, key|
|
||||
hash[key] = case key
|
||||
when :lb
|
||||
Fog::HP::LB.new
|
||||
when :dns
|
||||
Fog::HP::DNS.new
|
||||
when :block_storage
|
||||
|
|
Loading…
Add table
Reference in a new issue