Skip to content

Commit

Permalink
Merge pull request #21 from base2Services/leonard/tinyfix
Browse files Browse the repository at this point in the history
fix cfndsl condition if has_key?('protocol')
  • Loading branch information
Guslington authored Oct 4, 2019
2 parents fe22652 + 8524e41 commit 5233863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loadbalancer.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
## Optional
if tg.has_key?('healthcheck')
HealthCheckPort tg['healthcheck']['port'] if tg['healthcheck'].has_key?('port')
HealthCheckProtocol tg['healthcheck']['protocol'] if tg['healthcheck'].has_key?('port')
HealthCheckProtocol tg['healthcheck']['protocol'] if tg['healthcheck'].has_key?('protocol')
HealthCheckIntervalSeconds tg['healthcheck']['interval'] if tg['healthcheck'].has_key?('interval')
HealthCheckTimeoutSeconds tg['healthcheck']['timeout'] if tg['healthcheck'].has_key?('timeout')
HealthyThresholdCount tg['healthcheck']['heathy_count'] if tg['healthcheck'].has_key?('heathy_count')
Expand Down

0 comments on commit 5233863

Please sign in to comment.