Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed May 1, 2020
1 parent 6ace867 commit 28ce576
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -2230,7 +2230,7 @@ func expandApplicationGatewayHTTPListeners(d *schema.ResourceData, gatewayID str
}

if len(hosts) > 0 {
listener.ApplicationGatewayHTTPListenerPropertiesFormat.Hostnames = utils.ExpandStringSlice(hosts)
listener.ApplicationGatewayHTTPListenerPropertiesFormat.HostNames = utils.ExpandStringSlice(hosts)
}

if sslCertName := v["ssl_certificate_name"].(string); sslCertName != "" {
Expand Down Expand Up @@ -2292,7 +2292,7 @@ func flattenApplicationGatewayHTTPListeners(input *[]network.ApplicationGatewayH
output["host_name"] = *hostname
}

if hostnames := props.Hostnames; hostnames != nil {
if hostnames := props.HostNames; hostnames != nil {
output["host_names"] = utils.FlattenStringSlice(hostnames)
}

Expand Down

0 comments on commit 28ce576

Please sign in to comment.