fix: build on illumos (Solaris) (#13097)

This commit is contained in:
Dominik Hassler 2021-08-30 17:40:16 +02:00 committed by GitHub
parent 470553ff5d
commit 514b2d6f12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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