diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-19 09:03:03 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-19 09:03:03 +0800 |
commit | 8fde29bcf3ee352d63c09a2097b588eab738fdbd (patch) | |
tree | 88d4d925ed903134c7023350f7d1f2cfe998c998 /ssh_utils.go | |
parent | repo/contrib: Fix destination_commit param (diff) | |
download | forge-8fde29bcf3ee352d63c09a2097b588eab738fdbd.tar.gz forge-8fde29bcf3ee352d63c09a2097b588eab738fdbd.tar.zst forge-8fde29bcf3ee352d63c09a2097b588eab738fdbd.zip |
*.go: Use lowercase error values
Diffstat (limited to 'ssh_utils.go')
-rw-r--r-- | ssh_utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_utils.go b/ssh_utils.go index 61fdf33..757fbc5 100644 --- a/ssh_utils.go +++ b/ssh_utils.go @@ -7,7 +7,7 @@ import ( "strings" ) -var err_ssh_illegal_endpoint = errors.New("Illegal endpoint during SSH access") +var err_ssh_illegal_endpoint = errors.New("illegal endpoint during SSH access") func get_repo_path_perms_from_ssh_path_pubkey(ctx context.Context, ssh_path string, ssh_pubkey string) (repo_path string, direct_access bool, err error) { segments := strings.Split(strings.TrimPrefix(ssh_path, "/"), "/") |