change: tencent ssl upload repeatable to false

腾讯云ssl证书上传接口可重复选项设置为`false`,以避免重复上传导致的列表污染。
This commit is contained in:
Leo Chen 2024-10-16 00:19:57 +08:00
parent 9bd279a8a0
commit afeae4269c

View File

@ -76,7 +76,7 @@ func (t *tencentCdn) uploadCert() (string, error) {
request.CertificatePublicKey = common.StringPtr(t.option.Certificate.Certificate)
request.CertificatePrivateKey = common.StringPtr(t.option.Certificate.PrivateKey)
request.Alias = common.StringPtr(t.option.Domain + "_" + rand.RandStr(6))
request.Repeatable = common.BoolPtr(true)
request.Repeatable = common.BoolPtr(false)
response, err := client.UploadCertificate(request)
if err != nil {