From 767f4d1d8f292c4b980917ac1f381999fd2fbd94 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sat, 28 Mar 2015 12:43:26 -0700 Subject: [PATCH] Let donut driver use log.Errorln wrapper --- pkg/drivers/donut/donut.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/drivers/donut/donut.go b/pkg/drivers/donut/donut.go index 5b673a110..2a144a6b0 100644 --- a/pkg/drivers/donut/donut.go +++ b/pkg/drivers/donut/donut.go @@ -27,7 +27,7 @@ import ( "github.com/minio-io/iodine" "github.com/minio-io/minio/pkg/drivers" "github.com/minio-io/minio/pkg/storage/donut" - "log" + "github.com/minio-io/minio/pkg/utils/log" ) // donutDriver - creates a new single disk drivers driver using donut @@ -50,7 +50,7 @@ func Start(path string) (chan<- string, <-chan error, drivers.Driver) { s.donut, err = donut.NewDonut(path) err = iodine.New(err, map[string]string{"path": path}) if err != nil { - log.Println(err) + log.Errorln(err) } go start(ctrlChannel, errorChannel, s)