summaryrefslogtreecommitdiff
path: root/internal/command/shared/customaction/customaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/command/shared/customaction/customaction.go')
-rw-r--r--internal/command/shared/customaction/customaction.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/command/shared/customaction/customaction.go b/internal/command/shared/customaction/customaction.go
index c12d685..e8b5ede 100644
--- a/internal/command/shared/customaction/customaction.go
+++ b/internal/command/shared/customaction/customaction.go
@@ -34,6 +34,9 @@ type Command struct {
EOFSent bool
}
+// When `geo_proxy_direct_to_primary` feature flag is enabled, a Git over HTTP direct request
+// to primary repo is performed instead of proxying the request through Gitlab Rails.
+// After the feature flag is enabled by default and removed, this package will be removed along with it.
func (c *Command) Execute(ctx context.Context, response *accessverifier.Response) error {
data := response.Payload.Data
apiEndpoints := data.ApiEndpoints