Commit 4f0d3823 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Clean up main.go

parent ddd53598
/*
gitlab-workhorse handles slow requests for GitLab
This HTTP server can service 'git clone', 'git push' etc. commands
from Git clients that use the 'smart' Git HTTP protocol (git-upload-pack
and git-receive-pack). It is intended to be deployed behind NGINX
(for request routing and SSL termination) with access to a GitLab
backend (for authentication and authorization) and local disk access
to Git repositories managed by GitLab. In GitLab, this role was previously
performed by gitlab-grack.
In this file we start the web server and hand off to the upstream type.
*/
package main package main
import ( import (
...@@ -54,7 +41,6 @@ type bootConfig struct { ...@@ -54,7 +41,6 @@ type bootConfig struct {
} }
func main() { func main() {
boot, cfg, err := buildConfig(os.Args[0], os.Args[1:]) boot, cfg, err := buildConfig(os.Args[0], os.Args[1:])
if err == (alreadyPrintedError{flag.ErrHelp}) { if err == (alreadyPrintedError{flag.ErrHelp}) {
os.Exit(0) os.Exit(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment