Skip to content

Commit

Permalink
Update dependencies in order to update go version
Browse files Browse the repository at this point in the history
- Update pivnet-resource to use newest AWS S3 library

[#151761519]

Signed-off-by: Tim Kopp <tkopp@pivotal.io>
Signed-off-by: Debbie Chen <dechen@pivotal.io>
  • Loading branch information
xtreme-debbie-chen committed Oct 18, 2017
1 parent 10e4ef3 commit 3e93d52
Show file tree
Hide file tree
Showing 2,242 changed files with 1,470,599 additions and 154,330 deletions.
6 changes: 4 additions & 2 deletions s3/s3_client.go
Expand Up @@ -42,11 +42,13 @@ func NewClient(config NewClientConfig) *Client {
config.RegionName,
endpoint,
disableSSL,
config.SkipSSLValidation,
)

s3client := s3resource.NewS3Client(
config.Stderr,
awsConfig,
false,
)

return &Client{
Expand Down Expand Up @@ -82,7 +84,7 @@ func (c Client) Upload(fileGlob string, to string, sourcesDir string) error {
localPath := matches[0]
remotePath := filepath.Join(to, filepath.Base(localPath))

acl := "private"
options := s3resource.NewUploadFileOptions()

c.logger.Info(fmt.Sprintf(
"Uploading %s to s3://%s/%s",
Expand All @@ -95,7 +97,7 @@ func (c Client) Upload(fileGlob string, to string, sourcesDir string) error {
c.bucket,
remotePath,
localPath,
acl,
options,
)
if err != nil {
return err
Expand Down
3 changes: 0 additions & 3 deletions vendor/github.com/aws/aws-sdk-go/NOTICE.txt

This file was deleted.

202 changes: 0 additions & 202 deletions vendor/github.com/aws/aws-sdk-go/aws/LICENSE.txt

This file was deleted.

86 changes: 86 additions & 0 deletions vendor/github.com/aws/aws-sdk-go/aws/arn/arn.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/aws/aws-sdk-go/aws/awserr/error.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/aws/aws-sdk-go/aws/awserr/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion vendor/github.com/aws/aws-sdk-go/aws/awsutil/copy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/aws/aws-sdk-go/aws/awsutil/path_value.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e93d52

Please sign in to comment.