aboutsummaryrefslogtreecommitdiff
path: root/ssh_handle_upload_pack.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-18 20:12:32 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-18 20:12:32 +0800
commitd1a1358c447175bdfd2c44f0baf2f53201ed096a (patch)
tree01c05bcab641654b21b7ff9a09ebf03df49aaa03 /ssh_handle_upload_pack.go
parentRemove underscores from Go code, pt 1 (diff)
downloadforge-d1a1358c447175bdfd2c44f0baf2f53201ed096a.tar.gz
forge-d1a1358c447175bdfd2c44f0baf2f53201ed096a.tar.zst
forge-d1a1358c447175bdfd2c44f0baf2f53201ed096a.zip
gofumpt
Diffstat (limited to '')
-rw-r--r--ssh_handle_upload_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go
index fbbdfda..0aa2f17 100644
--- a/ssh_handle_upload_pack.go
+++ b/ssh_handle_upload_pack.go
@@ -13,7 +13,7 @@ import (
// ssh_handle_upload_pack handles clones/fetches. It just uses git-upload-pack
// and has no ACL checks.
-func ssh_handle_upload_pack(session glider_ssh.Session, pubkey string, repo_identifier string) (err error) {
+func ssh_handle_upload_pack(session glider_ssh.Session, pubkey, repo_identifier string) (err error) {
var repo_path string
if _, _, _, repo_path, _, _, _, _, err = get_repo_path_perms_from_ssh_path_pubkey(session.Context(), repo_identifier, pubkey); err != nil {
return err