Skip to content

Commit dc6a532

Browse files
committed
fix: fix logger format
1 parent 0b9c20f commit dc6a532

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎s3proxytest/s3proxytest.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func WaitForRessources(t *testing.T, s3proxyHost string) {
6767

6868
go func() {
6969
for i := range messages {
70-
log.Debug("Available ressource : %v", i)
70+
log.Debugf("Available ressource : %v", i)
7171
}
7272
}()
7373

@@ -84,7 +84,7 @@ func WaitForS3proxy(t *testing.T, s3proxyHost string) {
8484
return
8585
}
8686

87-
log.Debug("Waiting for s3proxy '%s' ...", s3proxyHost)
87+
log.Debugf("Waiting for s3proxy '%s' ...", s3proxyHost)
8888

8989
time.Sleep(3 * time.Second)
9090
}
@@ -121,7 +121,7 @@ func WaitForBucket(t *testing.T, bucketName string, config backend.S3BackendConf
121121
}
122122
}
123123

124-
log.Debug("Waiting for bucket '%s' ...", bucketName)
124+
log.Debugf("Waiting for bucket '%s' ...", bucketName)
125125

126126
time.Sleep(3 * time.Second)
127127
}

‎test/integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func setupIntegration(t *testing.T) {
4646
router := router.NewGinEngine(gin.ReleaseMode, "9.9.9", s3proxytest.URLExpiration, s3proxytest.ServerAPIKey, s3Backend)
4747

4848
go func() {
49-
log.Debug("Listening on port : %v", listener.Addr())
49+
log.Debugf("Listening on port : %v", listener.Addr())
5050

5151
// serve connections
5252
if err := http.Serve(listener, router); err != nil {

0 commit comments

Comments
 (0)