This commit is contained in:
Fu Diwei 2026-07-17 21:11:01 +08:00
parent 240de250ab
commit b284573eb3
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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