From e452d94fc842da6623c8fde67b9d71a1ee739f0a Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 17:55:17 +0800 Subject: autofix: format code with gofumpt and gofmt (#6803) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/cmd/web.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/cmd/web.go') diff --git a/internal/cmd/web.go b/internal/cmd/web.go index c4ceda17..358ff832 100644 --- a/internal/cmd/web.go +++ b/internal/cmd/web.go @@ -456,7 +456,6 @@ func runWeb(c *cli.Context) error { Post(bindIgnErr(form.AddSSHKey{}), repo.SettingsDeployKeysPost) m.Post("/delete", repo.DeleteDeployKey) }) - }, func(c *context.Context) { c.Data["PageIsSettings"] = true }) @@ -734,7 +733,8 @@ func runWeb(c *cli.Context) error { tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305, tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305, }, - }, Handler: m} + }, Handler: m, + } err = server.ListenAndServeTLS(conf.Server.CertFile, conf.Server.KeyFile) case "fcgi": -- cgit v1.2.3