summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kim <dkim@gitlab.com>2020-04-08 12:07:27 +0930
committerDavid Kim <dkim@gitlab.com>2020-04-08 12:07:27 +0930
commit9c855342fd36cd48a924b2fbe102796a1d9b4530 (patch)
treec9766bf135c74cb040c97404c8bef9fe55eb6d16
parent37b929f9e2dea90d53f19618294b0cce5c28071b (diff)
downloadgitlab-shell-9c855342fd36cd48a924b2fbe102796a1d9b4530.tar.gz
Add missed protocol againsh-log-git-upload-receive-pack
-rw-r--r--internal/command/receivepack/gitalycall.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/command/receivepack/gitalycall.go b/internal/command/receivepack/gitalycall.go
index d732197..ffe0b6f 100644
--- a/internal/command/receivepack/gitalycall.go
+++ b/internal/command/receivepack/gitalycall.go
@@ -35,7 +35,7 @@ func (c *Command) performGitalyCall(response *accessverifier.Response) error {
ctx, cancel := context.WithCancel(ctx)
defer cancel()
- gc.LogExecution(request.Repository, response, "")
+ gc.LogExecution(request.Repository, response, request.GitProtocol)
rw := c.ReadWriter
return client.ReceivePack(ctx, conn, rw.In, rw.Out, rw.ErrOut, request)