mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix not pulling InstanceProtocol from the xml
This commit is contained in:
parent
5f6a21a253
commit
abe0929fe9
2 changed files with 13 additions and 4 deletions
|
@ -83,7 +83,7 @@ module Fog
|
|||
@in_listeners = false
|
||||
when 'PolicyNames'
|
||||
@in_policy_names = false
|
||||
when 'Protocol', 'SSLCertificateId'
|
||||
when 'Protocol', 'SSLCertificateId', 'InstanceProtocol'
|
||||
@listener_description['Listener'][name] = value
|
||||
when 'LoadBalancerPort', 'InstancePort'
|
||||
@listener_description['Listener'][name] = value.to_i
|
||||
|
|
|
@ -14,13 +14,22 @@ class AWS
|
|||
"DNSName" => String,
|
||||
"HealthCheck" => {"HealthyThreshold" => Integer, "Timeout" => Integer, "UnhealthyThreshold" => Integer, "Interval" => Integer, "Target" => String},
|
||||
"Instances" => Array,
|
||||
"ListenerDescriptions" => Array,
|
||||
"ListenerDescriptions" => [{
|
||||
'PolicyNames' => Array,
|
||||
'Listener' => {
|
||||
'InstancePort' => Integer,
|
||||
'InstanceProtocol' => String,
|
||||
'LoadBalancerPort' => Integer,
|
||||
'Protocol' => String,
|
||||
'SSLCertificateId' => Fog::Nullable::String
|
||||
}
|
||||
}],
|
||||
"LoadBalancerName" => String,
|
||||
"Policies" => {"LBCookieStickinessPolicies" => Array, "AppCookieStickinessPolicies" => Array},
|
||||
"Scheme" => String,
|
||||
"SecurityGroups" => Fog::Nullable::String,
|
||||
"SecurityGroups" => [Fog::Nullable::String],
|
||||
"SourceSecurityGroup" => {"GroupName" => String, "OwnerAlias" => String},
|
||||
"Subnets" => Fog::Nullable::String
|
||||
"Subnets" => [Fog::Nullable::String]
|
||||
}
|
||||
|
||||
CREATE_LOAD_BALANCER = BASIC.merge({
|
||||
|
|
Loading…
Reference in a new issue