diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-05-23 09:50:54 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-05-23 09:50:54 +0000 |
commit | 68b5cd71e0d8bdf39a71ad2dfd5de55f6b7aa91f (patch) | |
tree | 7e1bc94b8eff1edace2d2bfc0d306ae3c4159469 | |
parent | 18ed49c9d66a37b38f25ebb9c00ef4f8623aee70 (diff) | |
parent | 2a781f7f5b1479595b7383fcfbe0729c245f0406 (diff) | |
download | gitlab-ce-68b5cd71e0d8bdf39a71ad2dfd5de55f6b7aa91f.tar.gz |
Merge branch 'gitaly-import-project-opt-out' into 'master'
Move ImportProject to OptOut in Gitaly
See merge request gitlab-org/gitlab-ce!19090
-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 |