diff options
author | James Lopez <james@jameslopez.es> | 2016-07-29 15:27:21 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-08-01 09:15:11 +0200 |
commit | dad1d0b8646b75ffcb3b1f6758848c53482f6bd2 (patch) | |
tree | efc1403bc00b1b7e42f595538325cc3cbc1b58b7 | |
parent | 52bb564812d106124b95c93f5a502f3ced9c280b (diff) | |
download | gitlab-ce-dad1d0b8646b75ffcb3b1f6758848c53482f6bd2.tar.gz |
fix return value and spec
-rw-r--r-- | lib/gitlab/import_export/file_importer.rb | 2 |
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 |