summaryrefslogtreecommitdiff
path: root/go/internal/handler/receive_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/internal/handler/receive_pack.go')
-rw-r--r--go/internal/handler/receive_pack.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/go/internal/handler/receive_pack.go b/go/internal/handler/receive_pack.go
index e69486f..fecb83b 100644
--- a/go/internal/handler/receive_pack.go
+++ b/go/internal/handler/receive_pack.go
@@ -14,7 +14,9 @@ func ReceivePack(gitalyAddress string, request *pb.SSHReceivePackRequest) (int32
return 0, fmt.Errorf("no gitaly_address given")
}
- conn, err := client.Dial(gitalyAddress, dialOpts())
+ gitalyAddress, isTls := transFormTls(gitalyAddress)
+ conn, err := client.Dial(gitalyAddress, dialOpts(isTls))
+
if err != nil {
return 0, err
}