Skip to content

Commit

Permalink
apply feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Nov 13, 2017
1 parent 4dabfb8 commit 75f7a45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aws/resource_aws_lb_target_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,11 @@ func flattenAwsLbTargetGroupResource(d *schema.ResourceData, meta interface{}, t
healthCheck["timeout"] = *targetGroup.HealthCheckTimeoutSeconds
healthCheck["healthy_threshold"] = *targetGroup.HealthyThresholdCount
healthCheck["unhealthy_threshold"] = *targetGroup.UnhealthyThresholdCount
if *targetGroup.Protocol != "TCP" {

if targetGroup.HealthCheckPath != nil {
healthCheck["path"] = *targetGroup.HealthCheckPath
}
if targetGroup.Matcher.HttpCode != nil {
healthCheck["matcher"] = *targetGroup.Matcher.HttpCode
}

Expand Down

0 comments on commit 75f7a45

Please sign in to comment.