diff --git a/main.go b/main.go index dcef3be..8a3bd30 100644 --- a/main.go +++ b/main.go @@ -15,8 +15,7 @@ import ( func main() { s3 := datasources.NewMinioClient() - - logger := log.New(os.Stdout, "request: ", log.Lshortfile) + logger := log.New(os.Stdout, "", log.Ldate|log.Ltime) router := mux.NewRouter() router. diff --git a/views/bucket-handler.go b/views/bucket-handler.go index b46fc99..399e98d 100644 --- a/views/bucket-handler.go +++ b/views/bucket-handler.go @@ -34,7 +34,7 @@ func BucketHandler(s3 *minio.Client) http.Handler { } doneCh := make(chan struct{}) - objectCh := s3.ListObjectsV2(bucketName, "", false, doneCh) + objectCh := s3.ListObjectsV2(bucketName, "", true, doneCh) for object := range objectCh { if object.Err != nil { msg := "error listing objects"