diff options
author | David Kim <dkim@gitlab.com> | 2020-04-08 11:02:05 +0930 |
---|---|---|
committer | David Kim <dkim@gitlab.com> | 2020-04-08 11:02:05 +0930 |
commit | 37b929f9e2dea90d53f19618294b0cce5c28071b (patch) | |
tree | 1eb7e5ca798d28f7955c109e015393351dff1898 /internal/handler/exec.go | |
parent | a9d9243401d887083477079192eb30452f7ccfc3 (diff) | |
download | gitlab-shell-37b929f9e2dea90d53f19618294b0cce5c28071b.tar.gz |
Remove unnecessary command argument
Diffstat (limited to 'internal/handler/exec.go')
-rw-r--r-- | internal/handler/exec.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/handler/exec.go b/internal/handler/exec.go index 977fadc..3af0925 100644 --- a/internal/handler/exec.go +++ b/internal/handler/exec.go @@ -55,9 +55,9 @@ func (gc *GitalyCommand) RunGitalyCommand(handler GitalyHandlerFunc) error { return err } -func (gc *GitalyCommand) LogExecution(command string, repository *pb.Repository, response *accessverifier.Response, protocol string) { +func (gc *GitalyCommand) LogExecution(repository *pb.Repository, response *accessverifier.Response, protocol string) { fields := log.Fields{ - "command": command, + "command": gc.ServiceName, "gl_project_path": repository.GlProjectPath, "gl_repository": repository.GlRepository, "user_id": response.UserId, |