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:
Diffstat (limited to 'internal/gitaly/service/ssh/monitor_stdin_command.go')
-rw-r--r--internal/gitaly/service/ssh/monitor_stdin_command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gitaly/service/ssh/monitor_stdin_command.go b/internal/gitaly/service/ssh/monitor_stdin_command.go
index 6e04bbdb1..fe2446a52 100644
--- a/internal/gitaly/service/ssh/monitor_stdin_command.go
+++ b/internal/gitaly/service/ssh/monitor_stdin_command.go
@@ -29,7 +29,7 @@ func monitorStdinCommand(
git.WithStdin(stdinPipe),
git.WithStdout(stdout),
git.WithStderr(stderr),
- git.WithFinalizer(func(*command.Command) { cleanup() }),
+ git.WithFinalizer(func(context.Context, *command.Command) { cleanup() }),
}, opts...)...)
stdinPipe.Close() // this now belongs to cmd
if err != nil {