From 84a3f3346ad88c9707c8161b88904005fa331040 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Mon, 9 Jun 2025 19:11:04 +0800 Subject: [PATCH] fix: #769 --- internal/workflow/node-processor/apply_node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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