summaryrefslogtreecommitdiff
path: root/internal/handler/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handler/exec.go')
-rw-r--r--internal/handler/exec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handler/exec.go b/internal/handler/exec.go
index 0870d2b..1f6c41c 100644
--- a/internal/handler/exec.go
+++ b/internal/handler/exec.go
@@ -119,5 +119,5 @@ func withOutgoingMetadata(ctx context.Context, features map[string]string) conte
}
func (gc *GitalyCommand) getConn(ctx context.Context) (*grpc.ClientConn, error) {
- return gc.Config.GitalyClient.GetConnection(ctx, gc.Command)
+ return gc.Config.GitalyClient.GetConnection(ctx, gc.Response.Gitaly.ReuseConnections, gc.Command)
}