diff options
author | Bo-Yi Wu <appleboy.tw@gmail.com> | 2016-11-15 00:03:37 +0800 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2016-11-15 00:03:37 +0800 |
commit | 5054020c1fd3d9aa75d5bcbafd08ff20727df345 (patch) | |
tree | 624e711dfaa86bea48a3b6c15e3ee9c6780fc103 /cmd/web.go | |
parent | 904deb7d6a87282499ffbcc4e3faa3d96e7f8e87 (diff) | |
download | gitea-5054020c1fd3d9aa75d5bcbafd08ff20727df345.tar.gz gitea-5054020c1fd3d9aa75d5bcbafd08ff20727df345.zip |
fix gofmt error.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index 8cd3949be1..3d0c977798 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -184,7 +184,7 @@ func newMacaron() *macaron.Macaron { })) m.Use(toolbox.Toolboxer(m, toolbox.Options{ HealthCheckFuncs: []*toolbox.HealthCheckFuncDesc{ - &toolbox.HealthCheckFuncDesc{ + { Desc: "Database connection", Func: models.Ping, }, |