diff options
author | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2018-05-22 15:52:54 +0000 |
---|---|---|
committer | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2018-05-22 15:52:54 +0000 |
commit | 2a781f7f5b1479595b7383fcfbe0729c245f0406 (patch) | |
tree | 133a5e28d459450478a88f2582779135e99b2144 | |
parent | 45ec7d15dd599597f98d1654096cb2837bb28a96 (diff) | |
download | gitlab-ce-gitaly-import-project-opt-out.tar.gz |
Move ImportProject to OptOut in Gitalygitaly-import-project-opt-out
-rw-r--r-- | lib/gitlab/git/gitlab_projects.rb | 2 |
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 |