Skip to content

Commit

Permalink
make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
MalinAhlberg committed Aug 29, 2024
1 parent ebb2ed5 commit 7e8b509
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upload/upload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func (suite *TestSuite) TestRecursiveToDifferentTarget() {
}
_, err := s3Client.CreateBucket(cparams)
if err != nil {
log.Printf(err.Error())
log.Print(err.Error())
}

// Create conf file for sda-cli
Expand All @@ -377,7 +377,7 @@ func (suite *TestSuite) TestRecursiveToDifferentTarget() {

configPath, err := os.CreateTemp(os.TempDir(), "s3cmd.conf")
if err != nil {
log.Printf(err.Error())
log.Print(err.Error())
}
defer os.Remove(configPath.Name())

Expand Down Expand Up @@ -419,7 +419,7 @@ func (suite *TestSuite) TestRecursiveToDifferentTarget() {
Bucket: aws.String("dummy"),
})
if err != nil {
log.Printf(err.Error())
log.Print(err.Error())
}
assert.Equal(suite.T(), filepath.ToSlash(filepath.Join(targetPath, filepath.Base(dir), filepath.Base(testfile.Name()))), aws.StringValue(result.Contents[0].Key))

Expand Down

0 comments on commit 7e8b509

Please sign in to comment.