mirror of
https://github.com/woodchen-ink/certimate.git
synced 2025-07-18 17:31:55 +08:00
fix: #769
This commit is contained in:
parent
bd26dfecb8
commit
84a3f3346a
@ -103,7 +103,7 @@ func (n *applyNode) Process(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 保存 ARI 记录
|
// 保存 ARI 记录
|
||||||
if applyResult.ARIReplaced {
|
if applyResult.ARIReplaced && lastOutput != nil {
|
||||||
lastCertificate, _ := n.certRepo.GetByWorkflowRunId(ctx, lastOutput.RunId)
|
lastCertificate, _ := n.certRepo.GetByWorkflowRunId(ctx, lastOutput.RunId)
|
||||||
if lastCertificate != nil {
|
if lastCertificate != nil {
|
||||||
lastCertificate.ACMERenewed = true
|
lastCertificate.ACMERenewed = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user