Skip to content

Commit

Permalink
Fixed the field name to follow the latest SDK version.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkuzmenok committed Jul 28, 2022
1 parent cb151ce commit 11ef3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/containers/container_group_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ func resourceContainerGroupCreate(d *pluginsdk.ResourceData, meta interface{}) e
containerGroup.Properties.IPAddress.DnsNameLabel = &dnsNameLabel
}
if dnsNameLabelReusePolicy := d.Get("dns_name_label_reuse_policy").(string); dnsNameLabelReusePolicy != "" {
containerGroup.Properties.IpAddress.AutoGeneratedDomainNameLabelScope = (*containerinstance.DnsNameLabelReusePolicy)(&dnsNameLabelReusePolicy)
containerGroup.Properties.IPAddress.AutoGeneratedDomainNameLabelScope = (*containerinstance.DnsNameLabelReusePolicy)(&dnsNameLabelReusePolicy)
}
}

Expand Down

0 comments on commit 11ef3a3

Please sign in to comment.