Skip to content

Commit aeeedf9

Browse files
committed
Add a return statement after diagnostic
1 parent f30b47b commit aeeedf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/fwserver/server_planresourcechange.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ func (s *Server) PlanResourceChange(ctx context.Context, req *PlanResourceChange
337337
"This is always an issue in the Terraform Provider and should be reported to the provider developers.\n\n"+
338338
"Ensure all resource plan modifiers do not attempt to change resource plan data from being a null value if the request plan is a null value.",
339339
)
340+
return
340341
}
341342

342343
// Set any write-only attributes in the plan to null

0 commit comments

Comments
 (0)