Skip to content

Commit 78ae20d

Browse files
author
Aaron Schlesinger
committed
fix(pkg/healthsrv/healthz_handler.go): use internal log package
1 parent 0dbe716 commit 78ae20d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkg/healthsrv/healthz_handler.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"time"
88

99
s3 "github.com/aws/aws-sdk-go/service/s3"
10+
"github.com/deis/builder/pkg/gitreceive/log"
1011
)
1112

1213
type healthZRespBucket struct {
@@ -30,7 +31,7 @@ func healthZHandler(s3Client *s3.S3) http.Handler {
3031
lbOut, err := s3Client.ListBuckets(&s3.ListBucketsInput{})
3132
if err != nil {
3233
str := fmt.Sprintf("Error listing buckets (%s)", err)
33-
log.Printf(str)
34+
log.Info(str)
3435
http.Error(w, str, http.StatusInternalServerError)
3536
return
3637
}

0 commit comments

Comments
 (0)