From cf1fdfef00f2681d90e449cca20b874d9e6141fb Mon Sep 17 00:00:00 2001 From: Marin Salinas Date: Wed, 6 Mar 2019 14:05:03 -0600 Subject: [PATCH] fix: add missing keys when artifact is destroying --- builder/osc/common/artifact.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder/osc/common/artifact.go b/builder/osc/common/artifact.go index 6174ce4fa..3fe329891 100644 --- a/builder/osc/common/artifact.go +++ b/builder/osc/common/artifact.go @@ -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},