- commit
- 29a356e
- parent
- 757ccfd
- author
- Eric Bower
- date
- 2023-08-12 15:00:39 +0000 UTC
changes
1 files changed,
+1,
-1
1@@ -101,7 +101,7 @@ func (s *StorageMinio) ListFiles(bucket Bucket, dir string) ([]os.FileInfo, erro
2 opts := minio.ListObjectsOptions{Prefix: dir, Recursive: false}
3 for obj := range s.Client.ListObjects(context.TODO(), bucket.Name, opts) {
4 if obj.Err != nil {
5- fmt.Println(obj.Err)
6+ return fileList, obj.Err
7 }
8 isDir := false
9 if obj.Size == 0 {