mirror of
https://github.com/certimate-go/certimate.git
synced 2026-09-24 23:10:13 +08:00
fix: 阿里云ESA海外区证书部署失败
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user