接入证书恢复后台任务
This commit is contained in:
1 parent
a8e7de7568
commit
aeb2d2f2cc
3 files changed
+22
-2
No files matched your search
@@ -212,6 +212,9 @@ func NewWithConfigPath(ctx context.Context, cfg config.Config, configPath string
|
||||
result, err := trackedWorkflow.Restore(ctx, domainID, version)
|
||||
return result.Certificate, err
|
||||
},
|
||||
RestoreCertificateVersionTask: func(ctx context.Context, domainID, version string) (certificate.IssueResult, error) {
|
||||
return workflow.RestoreVersion(ctx, domainID, version)
|
||||
},
|
||||
ValidateCertificate: func(ctx context.Context, domainID string) (certificate.IssueResult, certificate.ValidationResult, error) {
|
||||
return trackedWorkflow.Validate(ctx, domainID)
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user