fix: 阿里云ESA海外区证书部署失败

This commit is contained in:
131
2025-07-18 19:15:39 +08:00
parent 128fdbfffa
commit eee5816849
@@ -107,7 +107,7 @@ func (d *SSLDeployerProvider) Deploy(ctx context.Context, certPEM string, privke
if err != nil {
var sdkError *tea.SDKError
if errors.As(err, &sdkError) {
if *sdkError.Code == "Certificate.Duplicated" {
if tea.StringValue(sdkError.Code) == "Certificate.Duplicated" {
return &core.SSLDeployResult{}, nil
}
}