diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-07-06 15:45:29 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-07-07 13:48:34 +0300 |
commit | 78089d1153ce9a2e3d32cbcaafb8f9757c56a9d4 (patch) | |
tree | f0f57d7fea851bf85b4c14449161ef38ffd8a00c /lib/gitlab/gitaly_client.rb | |
parent | f63ca524c9d80107d2328e3d8175d04aad9b4b8a (diff) |
Remove option to disable Gitaly completely
Diffstat (limited to 'lib/gitlab/gitaly_client.rb')
-rw-r--r-- | lib/gitlab/gitaly_client.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/gitaly_client.rb b/lib/gitlab/gitaly_client.rb index f605c06dfc3..197a94487eb 100644 --- a/lib/gitlab/gitaly_client.rb +++ b/lib/gitlab/gitaly_client.rb @@ -70,12 +70,8 @@ module Gitlab params['gitaly_token'].presence || Gitlab.config.gitaly['token'] end - def self.enabled? - Gitlab.config.gitaly.enabled - end - def self.feature_enabled?(feature, status: MigrationStatus::OPT_IN) - return false if !enabled? || status == MigrationStatus::DISABLED + return false if status == MigrationStatus::DISABLED feature = Feature.get("gitaly_#{feature}") |