mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
fix: build on illumos (Solaris) (#13097)
This commit is contained in:
parent
470553ff5d
commit
514b2d6f12
@ -96,7 +96,7 @@ func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err er
|
||||
|
||||
maxEntries := 1000
|
||||
if opts.count > 0 && opts.count < maxEntries {
|
||||
maxEntries = count
|
||||
maxEntries = opts.count
|
||||
}
|
||||
|
||||
done := false
|
||||
|
Loading…
Reference in New Issue
Block a user