diff options
author | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2018-02-28 16:23:26 +0300 |
---|---|---|
committer | Kim Carlbäcker <kim.carlbacker@gmail.com> | 2018-02-28 16:23:26 +0300 |
commit | 17b91050ba2a1729fc8b03da0e8c6f5de761012c (patch) | |
tree | d8e60c41869e4b9814d468c632e2a4acde1a0d2e | |
parent | 573738ee6c08d018783c433f3ace376ead674d3c (diff) |
Re-enable the remaning Wiki Gitaly-Endpoints
-rw-r--r-- | lib/gitlab/git/wiki.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/gitlab/git/wiki.rb b/lib/gitlab/git/wiki.rb index ac12271a87e..52b44b9b3c5 100644 --- a/lib/gitlab/git/wiki.rb +++ b/lib/gitlab/git/wiki.rb @@ -59,7 +59,7 @@ module Gitlab end def pages(limit: nil) - @repository.gitaly_migrate(:wiki_get_all_pages, status: Gitlab::GitalyClient::MigrationStatus::DISABLED) do |is_enabled| + @repository.gitaly_migrate(:wiki_get_all_pages) do |is_enabled| if is_enabled gitaly_get_all_pages else @@ -68,9 +68,8 @@ module Gitlab end end - # Disable because of https://gitlab.com/gitlab-org/gitlab-ce/issues/42039 def page(title:, version: nil, dir: nil) - @repository.gitaly_migrate(:wiki_find_page, status: Gitlab::GitalyClient::MigrationStatus::DISABLED) do |is_enabled| + @repository.gitaly_migrate(:wiki_find_page) do |is_enabled| if is_enabled gitaly_find_page(title: title, version: version, dir: dir) else |