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-19 11:32:52 +0300
committerKarthik Nayak <knayak@gitlab.com>2022-08-25 12:36:20 +0300
commit74e1930fc42a98c0c856083dc6073e22a9553ecc (patch)
tree14c4f0b984d2dfd639587fc4c5da8d92743a6ad5
parent721c30b2549fea5c11bd91cdcf3bfd678ef02dc2 (diff)
featureflag: Add new flag 'user_create_branch_structured_errors'
Add a new flag to control the release of 'UserCreateBranchError' which was introduced in the previous commit (2d7e0ee3598caa9b127864c6bd8956ae80a9b8a9). This flag will be used in the upcoming commits to enable the use of this struct and eventually be deprecated once the struct is released and adopted.
-rw-r--r--internal/metadata/featureflag/ff_user_create_branch_structured_errors.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/metadata/featureflag/ff_user_create_branch_structured_errors.go b/internal/metadata/featureflag/ff_user_create_branch_structured_errors.go
new file mode 100644
index 000000000..f1b6e965a
--- /dev/null
+++ b/internal/metadata/featureflag/ff_user_create_branch_structured_errors.go
@@ -0,0 +1,9 @@
+package featureflag
+
+// UserCreateBranchStructuredErrors will enable the use of structured errors in the UserCreateTag RPC.
+var UserCreateBranchStructuredErrors = NewFeatureFlag(
+ "user_create_branch_structured_errors",
+ "v15.4.0",
+ "https://gitlab.com/gitlab-org/gitaly/-/issues/4227",
+ false,
+)