mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Take care of FixedResponseConfig in listeners parser
This commit is contained in:
parent
7f32c06c35
commit
152a488834
2 changed files with 5 additions and 3 deletions
|
@ -54,9 +54,10 @@ module Fog
|
|||
@target_group[name] = value
|
||||
when 'Type', 'Order'
|
||||
@default_action[name] = value
|
||||
when 'Path', 'Protocol', 'Port', 'Query', 'Host', 'StatusCode'
|
||||
when 'Path', 'Protocol', 'Port', 'Query', 'Host', 'StatusCode', 'ContentType',
|
||||
'MessageBody', 'StatusCode'
|
||||
@config[name] = value
|
||||
when 'RedirectConfig', 'ForwardConfig'
|
||||
when 'RedirectConfig', 'ForwardConfig', 'FixedResponseConfig'
|
||||
@default_action[name] = @config
|
||||
@config = {}
|
||||
when 'DurationSeconds', 'Enabled'
|
||||
|
|
|
@ -35,7 +35,8 @@ class AWS
|
|||
"Order" => String,
|
||||
"TargetGroupArn" => String,
|
||||
"RedirectConfig" => Fog::Nullable::Hash,
|
||||
"ForwardConfig" => Fog::Nullable::Hash
|
||||
"ForwardConfig" => Fog::Nullable::Hash,
|
||||
"FixedResponseConfig" => Fog::Nullable::Hash
|
||||
}]
|
||||
|
||||
LISTENER = {
|
||||
|
|
Loading…
Reference in a new issue