From 8fde29bcf3ee352d63c09a2097b588eab738fdbd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 09:03:03 +0800 Subject: *.go: Use lowercase error values --- ssh_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh_utils.go') 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, "/"), "/") -- cgit v1.2.3