diff --git a/data-client/g3cmd/upload-single.go b/data-client/g3cmd/upload-single.go index 2885316..5837e10 100644 --- a/data-client/g3cmd/upload-single.go +++ b/data-client/g3cmd/upload-single.go @@ -53,7 +53,10 @@ func UploadSingle(profile string, guid string, filePath string, bucketName strin // Instantiate interface to Gen3 gen3Interface := NewGen3Interface() - _, err := conf.ParseConfig(profile) + + // done so that profileConfig is written globally + var err error + profileConfig, err = conf.ParseConfig(profile) if err != nil { return err }