fix: add missing keys when artifact is destroying

pull/7459/head
Marin Salinas 7 years ago committed by Megan Marsh
parent 8a6faf1ad3
commit cf1fdfef00

@ -71,12 +71,15 @@ func (a *Artifact) Destroy() error {
newConfig := &oapi.Config{
UserAgent: a.Config.UserAgent,
AccessKey: a.Config.AccessKey,
SecretKey: a.Config.SecretKey,
Service: a.Config.Service,
Region: region, //New region
URL: a.Config.URL,
}
log.Printf("[DEBUG] New Client config %+v", newConfig)
skipClient := &http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},

Loading…
Cancel
Save