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/git/command_options.go')
-rw-r--r--internal/git/command_options.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/command_options.go b/internal/git/command_options.go
index 7b1c3ddb2..1dee4d82f 100644
--- a/internal/git/command_options.go
+++ b/internal/git/command_options.go
@@ -278,7 +278,7 @@ func withInternalFetch(req repoScopedRequest, withSidechannel bool) func(ctx con
// WithFinalizer sets up the finalizer to be run when the command is being wrapped up. It will be
// called after `Wait()` has returned.
-func WithFinalizer(finalizer func(*command.Command)) CmdOpt {
+func WithFinalizer(finalizer func(context.Context, *command.Command)) CmdOpt {
return func(_ context.Context, _ config.Cfg, _ CommandFactory, c *cmdCfg) error {
c.commandOpts = append(c.commandOpts, command.WithFinalizer(finalizer))
return nil