diff options
author | Karthik Nayak <knayak@gitlab.com> | 2022-08-26 11:58:32 +0300 |
---|---|---|
committer | Karthik Nayak <knayak@gitlab.com> | 2022-08-26 12:39:10 +0300 |
commit | 85df07cf1f7ccd84f52d308ece166afa2271cb89 (patch) | |
tree | 41700c0adb486845ce317189e7c22fd6b1639fd7 | |
parent | 8c281676b3bfbba15c0eda70237631cf84e0f84d (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.go | 10 |
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, +) |