Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2018-02-08 21:08:55 +0300
committerMichael Kozono <mkozono@gmail.com>2018-02-12 21:44:15 +0300
commitf917fc5d76d39fb17fda2678d5270407595f0128 (patch)
treee3a0e62c02e1ef110caafda3753b643e8e26545b /lib
parentbbfec704f7ed964807f2c14cac51ef8d0f9ff417 (diff)
Fix last batch size equals max batch size error
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/background_migration/prepare_untracked_uploads.rb2
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)