mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-20 11:43:57 +08:00
fix lint
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
70d2872ff2
commit
a5b38fc7a9
@ -181,7 +181,7 @@ func runServ(c *cli.Context) error {
|
||||
if git.DefaultFeatures().SupportProcReceive {
|
||||
// for AGit Flow
|
||||
if cmd == "ssh_info" {
|
||||
data := private.GetSshInfo(ctx)
|
||||
data := private.GetSSHInfo(ctx)
|
||||
fmt.Print(data)
|
||||
return nil
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ func ReloadTemplates(ctx context.Context) ResponseExtra {
|
||||
}
|
||||
|
||||
// Shutdown calls the internal shutdown function
|
||||
func GetSshInfo(ctx context.Context) string {
|
||||
func GetSSHInfo(ctx context.Context) string {
|
||||
reqURL := setting.LocalURL + "ssh_info"
|
||||
req := newInternalRequest(ctx, reqURL, "GET")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user