Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthik Nayak <knayak@gitlab.com>2022-08-26 11:58:32 +0300
committerKarthik Nayak <knayak@gitlab.com>2022-08-26 12:39:10 +0300
commit85df07cf1f7ccd84f52d308ece166afa2271cb89 (patch)
tree41700c0adb486845ce317189e7c22fd6b1639fd7
parent8c281676b3bfbba15c0eda70237631cf84e0f84d (diff)
featureflag: Add new flag 'SimplifyFindLocalBranchesResponse'
Add a new flag 'SimplifyFindLocalBranchesResponse' which will facilitate the addition of the new response type to 'FindLocalBranchesResponse'. The new field 'LocalBranches' is meant to deprecate the existing 'Branches' field. The new field is of the generic 'Branch' type.
-rw-r--r--internal/metadata/featureflag/ff_simplify_find_local_branches_response.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/metadata/featureflag/ff_simplify_find_local_branches_response.go b/internal/metadata/featureflag/ff_simplify_find_local_branches_response.go
new file mode 100644
index 000000000..04dfc9f3b
--- /dev/null
+++ b/internal/metadata/featureflag/ff_simplify_find_local_branches_response.go
@@ -0,0 +1,10 @@
+package featureflag
+
+// SimplifyFindLocalBranchesResponse enables the simplification of FindLocalBranchesRespnose
+// by adding the generic Branch type in the response
+var SimplifyFindLocalBranchesResponse = NewFeatureFlag(
+ "simplify_find_local_branches_response",
+ "v15.4.0",
+ "https://gitlab.com/gitlab-org/gitaly/-/issues/1294",
+ false,
+)