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