bhouse-nexthop commented on code in PR #280:
URL: 
https://github.com/apache/cloudstack-terraform-provider/pull/280#discussion_r2912211762


##########
cloudstack/resource_cloudstack_network_acl_test.go:
##########
@@ -110,6 +133,19 @@ func testAccCheckCloudStackNetworkACLBasicAttributes(
        }
 }
 
+func testAccCheckCloudStackNetworkACLProjectInherited(
+       acl *cloudstack.NetworkACLList) resource.TestCheckFunc {
+       return func(s *terraform.State) error {
+               // The ACL itself doesn't have project info, but we verify it 
was created
+               // successfully which means it inherited the project from the 
VPC
+               if acl.Name != "terraform-acl" {
+                       return fmt.Errorf("Expected ACL name to be 
'terraform-acl', got: %s", acl.Name)
+               }
+
+               return nil
+       }

Review Comment:
   fixed in 492d5cf



-- 
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]

Reply via email to