支持续期策略运行时生效
This commit is contained in:
1 parent
8ab3459a03
commit
11cbd8a2f2
5 files changed
+131
-50
No files matched your search
@@ -138,10 +138,11 @@ func NewWithConfigPath(ctx context.Context, cfg config.Config, configPath string
|
||||
RunRenewal: func(ctx context.Context) (certificate.RenewalReport, error) {
|
||||
return renewal.RunOnce(ctx)
|
||||
},
|
||||
CurrentCertificate: certificates,
|
||||
ResetStatePath: admin.StatePath(cfg.Paths.Data),
|
||||
Audit: auditRepo,
|
||||
Tasks: taskRepo,
|
||||
UpdateRenewalPolicy: renewal.UpdatePolicy,
|
||||
CurrentCertificate: certificates,
|
||||
ResetStatePath: admin.StatePath(cfg.Paths.Data),
|
||||
Audit: auditRepo,
|
||||
Tasks: taskRepo,
|
||||
})
|
||||
return &App{
|
||||
Config: cfg, Logger: logger, Database: db, Repository: repo,
|
||||
|
||||
Reference in new issue
Block a user