fix: add missing keys when artifact is destroying
This commit is contained in:
parent
8a6faf1ad3
commit
cf1fdfef00
|
@ -71,12 +71,15 @@ func (a *Artifact) Destroy() error {
|
||||||
|
|
||||||
newConfig := &oapi.Config{
|
newConfig := &oapi.Config{
|
||||||
UserAgent: a.Config.UserAgent,
|
UserAgent: a.Config.UserAgent,
|
||||||
|
AccessKey: a.Config.AccessKey,
|
||||||
SecretKey: a.Config.SecretKey,
|
SecretKey: a.Config.SecretKey,
|
||||||
Service: a.Config.Service,
|
Service: a.Config.Service,
|
||||||
Region: region, //New region
|
Region: region, //New region
|
||||||
URL: a.Config.URL,
|
URL: a.Config.URL,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Printf("[DEBUG] New Client config %+v", newConfig)
|
||||||
|
|
||||||
skipClient := &http.Client{
|
skipClient := &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||||
|
|
Loading…
Reference in New Issue