fix: DisableARI switch not used

This commit is contained in:
Fu Diwei
2025-12-09 17:01:42 +08:00
committed by RHQYZ
parent ce167149e6
commit b9a38ac67d
@@ -329,7 +329,7 @@ func (ne *bizApplyNodeExecutor) executeObtain(execCtx *NodeExecutionContext, nod
PreferredChain: nodeCfg.PreferredChain,
ACMEProfile: nodeCfg.ACMEProfile,
ARIReplacesAcctUrl: lo.
If(lastCertificate == nil, "").
If(nodeCfg.DisableARI || lastCertificate == nil, "").
ElseF(func() string {
if lastCertificate.IsRenewed {
return ""
@@ -337,7 +337,7 @@ func (ne *bizApplyNodeExecutor) executeObtain(execCtx *NodeExecutionContext, nod
return lastCertificate.ACMEAcctUrl
}),
ARIReplacesCertId: lo.
If(lastCertificate == nil, "").
If(nodeCfg.DisableARI || lastCertificate == nil, "").
ElseF(func() string {
if lastCertificate.IsRenewed {
return ""