We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e03965d commit e4b4c55Copy full SHA for e4b4c55
internal/common/autogen/handle_operations.go
@@ -73,7 +73,7 @@ func HandleCreate(ctx context.Context, req HandleCreateReq) {
73
return
74
}
75
errWait := handleWaitCreateUpdate(ctx, req.Wait, req.Client, req.Plan)
76
- if errWait != nil && req.DeleteCallParams != nil {
+ if req.DeleteCallParams != nil {
77
// Handle timeout with cleanup if delete_on_create_timeout is enabled. Doesn't support Delete with StaticRequestBody.
78
errWait = cleanup.HandleCreateTimeout(req.DeleteOnCreateTimeout, errWait, func(ctxCleanup context.Context) error {
79
bodyResp, apiResp, err := callAPIWithoutBody(ctxCleanup, req.Client, req.DeleteCallParams)
0 commit comments