diff --git a/internal/workflow/node-processor/apply_node.go b/internal/workflow/node-processor/apply_node.go index 852d7b9e..291b604d 100644 --- a/internal/workflow/node-processor/apply_node.go +++ b/internal/workflow/node-processor/apply_node.go @@ -103,7 +103,7 @@ func (n *applyNode) Process(ctx context.Context) error { } // 保存 ARI 记录 - if applyResult.ARIReplaced { + if applyResult.ARIReplaced && lastOutput != nil { lastCertificate, _ := n.certRepo.GetByWorkflowRunId(ctx, lastOutput.RunId) if lastCertificate != nil { lastCertificate.ACMERenewed = true