summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2019-06-06 14:52:36 -0300
committerFelipe Artur <felipefac@gmail.com>2019-06-28 13:44:01 -0300
commitf7a92ff52822267d834c1c2d2d8ecf367a294e17 (patch)
treef2d1fc6f99a8e2e9640958388deb609b73fa10e0 /lib
parent55af6a19e506eb74e1763e3c84da94726c9092d2 (diff)
downloadgitlab-ce-f7a92ff52822267d834c1c2d2d8ecf367a294e17.tar.gz
Add GetCommitSignatures feature flagadd-commit-signatures-feature-flag
Adds feature flag for GetCommitSignatures which got ported to go. More info: https://gitlab.com/gitlab-org/gitaly/merge_requests/1283
Diffstat (limited to 'lib')
-rw-r--r--lib/feature/gitaly.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/feature/gitaly.rb b/lib/feature/gitaly.rb
index d7a8f8a0b9e..67c0b902c0c 100644
--- a/lib/feature/gitaly.rb
+++ b/lib/feature/gitaly.rb
@@ -8,7 +8,12 @@ class Feature
# CATFILE_CACHE sets an incorrect example
CATFILE_CACHE = 'catfile-cache'.freeze
- SERVER_FEATURE_FLAGS = [CATFILE_CACHE].freeze
+ SERVER_FEATURE_FLAGS =
+ [
+ CATFILE_CACHE,
+ 'get_commit_signatures'.freeze
+ ].freeze
+
DEFAULT_ON_FLAGS = Set.new([CATFILE_CACHE]).freeze
class << self