Commit 0acf5a23 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Merge branch 'master' into 'master'

Typo fixes suggested by debian's lintian tool

See merge request gitlab-org/gitlab-workhorse!330
parents 76ac2b09 c0c27ef6
...@@ -49,7 +49,7 @@ Options: ...@@ -49,7 +49,7 @@ Options:
-authSocket string -authSocket string
Optional: Unix domain socket to dial authBackend at Optional: Unix domain socket to dial authBackend at
-developmentMode -developmentMode
Allow to serve assets from Rails app Allow the assets to be served from Rails app
-documentRoot string -documentRoot string
Path to static files content (default "public") Path to static files content (default "public")
-listenAddr string -listenAddr string
......
...@@ -109,7 +109,7 @@ func (m *Multipart) cleanup(ctx context.Context) { ...@@ -109,7 +109,7 @@ func (m *Multipart) cleanup(ctx context.Context) {
return return
} }
// We have now succesfully uploaded the file to object storage. Another // We have now successfully uploaded the file to object storage. Another
// goroutine will hand off the object to gitlab-rails. // goroutine will hand off the object to gitlab-rails.
<-ctx.Done() <-ctx.Done()
......
...@@ -27,7 +27,7 @@ var ( ...@@ -27,7 +27,7 @@ var (
multipartFileUploadBytes = prometheus.NewCounterVec( multipartFileUploadBytes = prometheus.NewCounterVec(
prometheus.CounterOpts{ prometheus.CounterOpts{
Name: "gitlab_workhorse_multipart_upload_bytes", Name: "gitlab_workhorse_multipart_upload_bytes",
Help: "How many disk bytes of multipart file parts have been succesfully written by gitlab-workhorse. Partitioned by type.", Help: "How many disk bytes of multipart file parts have been successfully written by gitlab-workhorse. Partitioned by type.",
}, },
[]string{"type"}, []string{"type"},
) )
......
...@@ -48,7 +48,7 @@ var authSocket = flag.String("authSocket", "", "Optional: Unix domain socket to ...@@ -48,7 +48,7 @@ var authSocket = flag.String("authSocket", "", "Optional: Unix domain socket to
var pprofListenAddr = flag.String("pprofListenAddr", "", "pprof listening address, e.g. 'localhost:6060'") var pprofListenAddr = flag.String("pprofListenAddr", "", "pprof listening address, e.g. 'localhost:6060'")
var documentRoot = flag.String("documentRoot", "public", "Path to static files content") var documentRoot = flag.String("documentRoot", "public", "Path to static files content")
var proxyHeadersTimeout = flag.Duration("proxyHeadersTimeout", 5*time.Minute, "How long to wait for response headers when proxying the request") var proxyHeadersTimeout = flag.Duration("proxyHeadersTimeout", 5*time.Minute, "How long to wait for response headers when proxying the request")
var developmentMode = flag.Bool("developmentMode", false, "Allow to serve assets from Rails app") var developmentMode = flag.Bool("developmentMode", false, "Allow the assets to be served from Rails app")
var secretPath = flag.String("secretPath", "./.gitlab_workhorse_secret", "File with secret key to authenticate with authBackend") var secretPath = flag.String("secretPath", "./.gitlab_workhorse_secret", "File with secret key to authenticate with authBackend")
var apiLimit = flag.Uint("apiLimit", 0, "Number of API requests allowed at single time") var apiLimit = flag.Uint("apiLimit", 0, "Number of API requests allowed at single time")
var apiQueueLimit = flag.Uint("apiQueueLimit", 0, "Number of API requests allowed to be queued") var apiQueueLimit = flag.Uint("apiQueueLimit", 0, "Number of API requests allowed to be queued")
......
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