summaryrefslogtreecommitdiff
path: root/internal/command/receivepack/receivepack.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/command/receivepack/receivepack.go')
-rw-r--r--internal/command/receivepack/receivepack.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/command/receivepack/receivepack.go b/internal/command/receivepack/receivepack.go
index aaaf7b0..3af3941 100644
--- a/internal/command/receivepack/receivepack.go
+++ b/internal/command/receivepack/receivepack.go
@@ -4,6 +4,7 @@ import (
"gitlab.com/gitlab-org/gitlab-shell/internal/command/commandargs"
"gitlab.com/gitlab-org/gitlab-shell/internal/command/readwriter"
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/accessverifier"
+ "gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/customaction"
"gitlab.com/gitlab-org/gitlab-shell/internal/command/shared/disallowedcommand"
"gitlab.com/gitlab-org/gitlab-shell/internal/config"
)
@@ -27,7 +28,8 @@ func (c *Command) Execute() error {
}
if response.IsCustomAction() {
- return c.processCustomAction(response)
+ customAction := customaction.Command{c.Config, c.ReadWriter}
+ return customAction.Execute(response)
}
return c.performGitalyCall(response)