From d777be4a9a84b5493f11883946f97e7b851d0832 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 16 Feb 2025 01:04:38 +0800 Subject: ssh_*: Pass pubkey to SSH handlers --- ssh_handle_upload_pack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh_handle_upload_pack.go') diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go index 8f7d9c9..7812f1a 100644 --- a/ssh_handle_upload_pack.go +++ b/ssh_handle_upload_pack.go @@ -8,7 +8,7 @@ import ( "github.com/go-git/go-git/v5/plumbing/transport/server" ) -func ssh_handle_upload_pack(session glider_ssh.Session, repo_identifier string) (err error) { +func ssh_handle_upload_pack(session glider_ssh.Session, pubkey string, repo_identifier string) (err error) { repo_path, err := get_repo_path_from_ssh_path(session.Context(), repo_identifier) if err != nil { return err -- cgit v1.2.3