mirror of
https://github.com/certimate-go/certimate.git
synced 2026-07-20 21:01:41 +08:00
fix: #1381
This commit is contained in:
parent
240de250ab
commit
b284573eb3
@ -186,6 +186,10 @@ func (d *Deployer) Deploy(ctx context.Context, certPEM, privkeyPEM string) (*Dep
|
||||
|
||||
return !deployed
|
||||
})
|
||||
if len(domains) == 0 {
|
||||
d.logger.Info("no need to deploy edgeone custom domain certificate")
|
||||
return &DeployResult{}, nil
|
||||
}
|
||||
|
||||
// 配置域名证书
|
||||
// REF: https://cloud.tencent.com/document/api/1552/80764
|
||||
|
||||
@ -209,6 +209,10 @@ func (d *Deployer) Deploy(ctx context.Context, certPEM, privkeyPEM string) (*Dep
|
||||
|
||||
return !deployed
|
||||
})
|
||||
if len(domains) == 0 {
|
||||
d.logger.Info("no need to deploy edgeone custom domain certificate")
|
||||
return &DeployResult{}, nil
|
||||
}
|
||||
|
||||
// 配置域名证书
|
||||
// REF: https://cloud.tencent.com/document/api/1552/80764
|
||||
|
||||
Loading…
Reference in New Issue
Block a user