Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomson committed Aug 24, 2020
1 parent dbb05fd commit 74cc5d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added s3-bulk-delete/s3-bulk-delete-linux-amd64
Binary file not shown.
8 changes: 4 additions & 4 deletions s3-bulk-delete/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"net/http"
"time"

aws "github.com/aws/aws-sdk-go/aws"
session "github.com/aws/aws-sdk-go/aws/session"
s3 "github.com/aws/aws-sdk-go/service/s3"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/s3"
)

type S3Deleter struct {
Expand Down Expand Up @@ -68,7 +68,7 @@ func (d *S3Deleter) DeleteKeys(keys []string) error {
func (_ *S3Deleter) newBatchError(errs []*s3.Error) error {
msgs := make([]string, len(errs))
for i := 0; i < len(errs); i += 1 {
msgs[i] = *errs[i].Message
msgs[i] = fmt.Sprint("%s, %s", *errs[i].Key, *errs[i].Message)
}
return NewBatchError(msgs)
}
Expand Down

0 comments on commit 74cc5d0

Please sign in to comment.