From 09d3dada4cd5249b50283fbc92cc37661c46f8c5 Mon Sep 17 00:00:00 2001 From: Chris Marget Date: Thu, 8 Aug 2024 15:07:38 -0400 Subject: [PATCH] add missing --- apstra/resource_datacenter_connectivity_template_assignments.go | 1 + 1 file changed, 1 insertion(+) diff --git a/apstra/resource_datacenter_connectivity_template_assignments.go b/apstra/resource_datacenter_connectivity_template_assignments.go index 95a2c8b0..192c6217 100644 --- a/apstra/resource_datacenter_connectivity_template_assignments.go +++ b/apstra/resource_datacenter_connectivity_template_assignments.go @@ -116,6 +116,7 @@ func (o *resourceDatacenterConnectivityTemplateAssignments) Read(ctx context.Con var ace apstra.ClientErr if errors.As(err, &ace) && ace.Type() == apstra.ErrNotfound { resp.State.RemoveResource(ctx) + return } resp.Diagnostics.AddError( fmt.Sprintf("failed while reading Application Point assignments for Connectivity Template %s", state.ConnectivityTemplateId),