mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
posix: cleanup usage of fmt.Println() (#1934)
This commit is contained in:
parent
50d25ca94a
commit
2f136e92f7
@ -19,7 +19,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"os"
|
||||
"strings"
|
||||
@ -31,7 +30,6 @@ func readDir(dirPath string) (entries []string, err error) {
|
||||
if err != nil {
|
||||
// File is really not found.
|
||||
if os.IsNotExist(err) {
|
||||
fmt.Println(preparePath(dirPath), err)
|
||||
return nil, errFileNotFound
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user