diff options
author | Felipe Artur <felipefac@gmail.com> | 2019-06-06 14:52:36 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2019-06-28 13:44:01 -0300 |
commit | f7a92ff52822267d834c1c2d2d8ecf367a294e17 (patch) | |
tree | f2d1fc6f99a8e2e9640958388deb609b73fa10e0 /lib | |
parent | 55af6a19e506eb74e1763e3c84da94726c9092d2 (diff) | |
download | gitlab-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.rb | 7 |
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 |