diff options
author | Michael Kozono <mkozono@gmail.com> | 2018-02-08 21:08:55 +0300 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2018-02-12 21:44:15 +0300 |
commit | f917fc5d76d39fb17fda2678d5270407595f0128 (patch) | |
tree | e3a0e62c02e1ef110caafda3753b643e8e26545b /lib/gitlab/background_migration | |
parent | bbfec704f7ed964807f2c14cac51ef8d0f9ff417 (diff) |
Fix last batch size equals max batch size error
Diffstat (limited to 'lib/gitlab/background_migration')
-rw-r--r-- | lib/gitlab/background_migration/prepare_untracked_uploads.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/prepare_untracked_uploads.rb b/lib/gitlab/background_migration/prepare_untracked_uploads.rb index a7a1bbe1752..3aa4caf1841 100644 --- a/lib/gitlab/background_migration/prepare_untracked_uploads.rb +++ b/lib/gitlab/background_migration/prepare_untracked_uploads.rb @@ -92,7 +92,7 @@ module Gitlab end end - yield(paths) + yield(paths) if paths.any? end def build_find_command(search_dir) |