bhouse-nexthop commented on code in PR #282:
URL:
https://github.com/apache/cloudstack-terraform-provider/pull/282#discussion_r2912488478
##########
cloudstack/resource_cloudstack_network.go:
##########
@@ -306,6 +358,19 @@ func resourceCloudStackNetworkRead(d *schema.ResourceData,
meta interface{}) err
d.Set("network_domain", n.Networkdomain)
d.Set("vpc_id", n.Vpcid)
+ // Only set ip6cidr if it has a value
+ if n.Ip6cidr != "" {
+ d.Set("ip6cidr", n.Ip6cidr)
+ }
+
+ // Only set ip6gateway if it has a value
+ if n.Ip6gateway != "" {
+ d.Set("ip6gateway", n.Ip6gateway)
+ }
Review Comment:
fixed in afe36dc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]