summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Carlbäcker <kim.carlbacker@gmail.com>2018-05-22 15:52:54 +0000
committerKim Carlbäcker <kim.carlbacker@gmail.com>2018-05-22 15:52:54 +0000
commit2a781f7f5b1479595b7383fcfbe0729c245f0406 (patch)
tree133a5e28d459450478a88f2582779135e99b2144
parent45ec7d15dd599597f98d1654096cb2837bb28a96 (diff)
downloadgitlab-ce-2a781f7f5b1479595b7383fcfbe0729c245f0406.tar.gz
Move ImportProject to OptOut in Gitalygitaly-import-project-opt-out
-rw-r--r--lib/gitlab/git/gitlab_projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/gitlab_projects.rb b/lib/gitlab/git/gitlab_projects.rb
index 68373460d23..00c943fdb25 100644
--- a/lib/gitlab/git/gitlab_projects.rb
+++ b/lib/gitlab/git/gitlab_projects.rb
@@ -53,7 +53,7 @@ module Gitlab
# Import project via git clone --bare
# URL must be publicly cloneable
def import_project(source, timeout)
- Gitlab::GitalyClient.migrate(:import_repository) do |is_enabled|
+ Gitlab::GitalyClient.migrate(:import_repository, status: Gitlab::GitalyClient::MigrationStatus::OPT_OUT) do |is_enabled|
if is_enabled
gitaly_import_repository(source)
else