diff --git a/repo/blob/s3/s3_storage_test.go b/repo/blob/s3/s3_storage_test.go index a12373407..20a36ad84 100644 --- a/repo/blob/s3/s3_storage_test.go +++ b/repo/blob/s3/s3_storage_test.go @@ -5,7 +5,6 @@ import ( "crypto/rand" "crypto/sha1" "fmt" - "log" "net" "net/http" "os" @@ -362,7 +361,7 @@ func createMinioSessionToken(t *testutil.RetriableT, kopiaUserName, kopiaUserPas t.Fatalf("couldn't find aws creds in aws assume role response") } - log.Printf("created session token with assume role: expiration: %s", result.Credentials.Expiration) + t.Logf("created session token with assume role: expiration: %s", result.Credentials.Expiration) return *result.Credentials.AccessKeyId, *result.Credentials.SecretAccessKey, *result.Credentials.SessionToken }