diff --git a/README.md b/README.md index 8c52a8d16ba9ab344684e62f44fb812200f17140..bb0e4af127a041ee06965b18f14cd600d6149703 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Options: -authSocket string Optional: Unix domain socket to dial authBackend at -developmentMode - Allow to serve assets from Rails app + Allow the assets to be served from Rails app -documentRoot string Path to static files content (default "public") -listenAddr string diff --git a/internal/objectstore/multipart.go b/internal/objectstore/multipart.go index aba123951cd5ee328c4a6410b8baf3aac5f83e2d..03ac965a6196c98e21fbbb5082b17e8dc546b98d 100644 --- a/internal/objectstore/multipart.go +++ b/internal/objectstore/multipart.go @@ -109,7 +109,7 @@ func (m *Multipart) cleanup(ctx context.Context) { 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. <-ctx.Done() diff --git a/internal/upload/rewrite.go b/internal/upload/rewrite.go index 88b1053ced630871098f9b96c8aa65a7d165a226..ae36a1d1c8c3bb4cd7cc82ed95a888206317b614 100644 --- a/internal/upload/rewrite.go +++ b/internal/upload/rewrite.go @@ -27,7 +27,7 @@ var ( multipartFileUploadBytes = prometheus.NewCounterVec( prometheus.CounterOpts{ 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"}, ) diff --git a/main.go b/main.go index 2a474157c78050b6cc0ad6498a5f621aa3b1c4c3..117c321b109089cefd2dc92d173fc9158db34e17 100644 --- a/main.go +++ b/main.go @@ -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 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 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 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")