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:
authorJustin Tobler <jtobler@gitlab.com>2023-03-16 16:07:54 +0300
committerJustin Tobler <jtobler@gitlab.com>2023-03-16 16:07:54 +0300
commitf325cf3bc90ad9bba23dfad92457d10a10bf1416 (patch)
tree435f843a0fe2ff2a30a3eb77b45b37ec54e3086a
parentfabe1695e5247ea69b2578a8b6b1436fc9ec764f (diff)
featureflag: Default `tx_restore_custom_hooks` on
Transactionality is being added to the `SetCustomHooks` RPC via the `tx_restore_custom_hooks` feature flag. This RPC will be invoked with a CLI client by GitLab administrators to set custom hooks for a repository. Since this CLI originates the RPC invocations, feature flag values are not propagated through the RPC context. This change default enables the feature flag so tranactions can be enabled for the `set-hooks` CLI.
-rw-r--r--internal/metadata/featureflag/ff_transactional_restore_custom_hooks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/metadata/featureflag/ff_transactional_restore_custom_hooks.go b/internal/metadata/featureflag/ff_transactional_restore_custom_hooks.go
index c8b8d9ee2..6e92a1b77 100644
--- a/internal/metadata/featureflag/ff_transactional_restore_custom_hooks.go
+++ b/internal/metadata/featureflag/ff_transactional_restore_custom_hooks.go
@@ -6,5 +6,5 @@ var TransactionalRestoreCustomHooks = NewFeatureFlag(
"tx_restore_custom_hooks",
"v15.0.0",
"https://gitlab.com/gitlab-org/gitaly/-/issues/4203",
- false,
+ true,
)