mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Refactoring pkg/utils/log, copying from golang's log and modifying
This commit is contained in:
@@ -142,7 +142,7 @@ func getDriverChannels(driverType DriverType) (ctrlChans []chan<- string, status
|
||||
{
|
||||
u, err := user.Current()
|
||||
if err != nil {
|
||||
log.Errorln(iodine.New(err, nil))
|
||||
log.Error.Println(iodine.New(err, nil))
|
||||
return nil, nil, nil
|
||||
}
|
||||
root := path.Join(u.HomeDir, "minio-storage", "file")
|
||||
@@ -154,7 +154,7 @@ func getDriverChannels(driverType DriverType) (ctrlChans []chan<- string, status
|
||||
{
|
||||
u, err := user.Current()
|
||||
if err != nil {
|
||||
log.Errorln(iodine.New(err, nil))
|
||||
log.Error.Println(iodine.New(err, nil))
|
||||
return nil, nil, nil
|
||||
}
|
||||
root := path.Join(u.HomeDir, "minio-storage", "donut")
|
||||
|
||||
Reference in New Issue
Block a user