Merge pull request #7899 from ioito/hotfix/qx-qcloud-cos-proxy

fix: cos use proxy
This commit is contained in:
yunion-ci-robot
2020-09-14 14:01:08 +08:00
committed by GitHub
+3
View File
@@ -597,6 +597,9 @@ func (client *SQcloudClient) getCosClient(bucket *SBucket) (*cos.Client, error)
RequestBody: client.debug,
ResponseHeader: client.debug,
ResponseBody: client.debug,
Transport: &http.Transport{
Proxy: client.cpcfg.ProxyFunc,
},
},
},
},