From afeae4269c0fd5e6670b62df65833027e426d556 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Wed, 16 Oct 2024 00:19:57 +0800 Subject: [PATCH] change: tencent ssl upload repeatable to false MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 腾讯云ssl证书上传接口可重复选项设置为`false`,以避免重复上传导致的列表污染。 --- internal/deployer/tencent_cdn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/deployer/tencent_cdn.go b/internal/deployer/tencent_cdn.go index f7a5f63b..ab9189b2 100644 --- a/internal/deployer/tencent_cdn.go +++ b/internal/deployer/tencent_cdn.go @@ -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 {