优化代码

This commit is contained in:
GoEdgeLab
2021-08-07 16:11:35 +08:00
parent 80a309fb9b
commit c0a67b1358
8 changed files with 14 additions and 23 deletions

View File

@@ -1453,7 +1453,7 @@ func (this *HuaweiDNSProvider) doAPI(method string, apiPath string, args map[str
req.Header.Set("x-sdk-date", datetime)
req.Header.Set("Authorization", "SDK-HMAC-SHA256 Access="+this.accessKeyId+", SignedHeaders=content-type;host;x-sdk-date, Signature="+signString)
resp, err := cloudFlareHTTPClient.Do(req)
resp, err := huaweiDNSHTTPClient.Do(req)
if err != nil {
return err
}