summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-07-29 15:27:21 +0200
committerJames Lopez <james@jameslopez.es>2016-08-01 09:15:11 +0200
commitdad1d0b8646b75ffcb3b1f6758848c53482f6bd2 (patch)
treeefc1403bc00b1b7e42f595538325cc3cbc1b58b7
parent52bb564812d106124b95c93f5a502f3ced9c280b (diff)
downloadgitlab-ce-dad1d0b8646b75ffcb3b1f6758848c53482f6bd2.tar.gz
fix return value and spec
-rw-r--r--lib/gitlab/import_export/file_importer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/file_importer.rb b/lib/gitlab/import_export/file_importer.rb
index ff7174c995f..4b5f1f26286 100644
--- a/lib/gitlab/import_export/file_importer.rb
+++ b/lib/gitlab/import_export/file_importer.rb
@@ -33,7 +33,7 @@ module Gitlab
if File.exist?(@archive_file)
yield
- break
+ return true
else
sleep(2**retry_number)
end