summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Artur <fcardozo@gitlab.com>2019-07-03 17:57:14 +0000
committerFelipe Artur <fcardozo@gitlab.com>2019-07-03 17:57:14 +0000
commitdb26cddaaae20655776e6fac31b29e67b5edfa2e (patch)
treef291d38ba4381100fefa471e11df795b772885ba
parent8d3920c3db008a74a84e0a2288076c7b32a471a5 (diff)
parentf7a92ff52822267d834c1c2d2d8ecf367a294e17 (diff)
downloadgitlab-ce-db26cddaaae20655776e6fac31b29e67b5edfa2e.tar.gz
Merge branch 'add-commit-signatures-feature-flag' into 'master'
Add GetCommitSignatures feature flag See merge request gitlab-org/gitlab-ce!29288
-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