1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|elb] fix listener defaults to use merge_attributes and therefore aliases

This commit is contained in:
geemus 2011-07-20 12:08:48 -05:00
parent 7cbf1861aa
commit 1aa69c83a2

View file

@ -11,8 +11,8 @@ module Fog
attribute :ssl_id, :aliases => 'SSLCertificateId'
def initialize(attributes={})
defaults = {:policy_names => [], :instance_port => 80, :lb_port => 80, :protocol => 'HTTP'}
attributes = defaults.merge(attributes)
# set defaults, which may be overridden in super
merge_attributes(:policy_names => [], :instance_port => 80, :lb_port => 80, :protocol => 'HTTP')
super
end