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:
parent
7cbf1861aa
commit
1aa69c83a2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue