Skip to content

Commit

Permalink
chore: sleepTimeSecForS3 to public
Browse files Browse the repository at this point in the history
  • Loading branch information
go-to-k committed Oct 23, 2022
1 parent 218a043 commit 7215738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion option.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ const AppName = "cls3"
var Version = ""
var Revision = ""

var sleepTimeSecForS3 = 10
var SleepTimeSecForS3 = 10
2 changes: 1 addition & 1 deletion s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func (s3 *S3) ClearS3Objects(bucketName string, forceMode bool) error {
}

if len(versions) > 0 {
errors, err := s3.client.DeleteObjects(aws.String(bucketName), versions, sleepTimeSecForS3)
errors, err := s3.client.DeleteObjects(aws.String(bucketName), versions, SleepTimeSecForS3)
if err != nil {
return err
}
Expand Down

0 comments on commit 7215738

Please sign in to comment.