From c0c27ef6e1062291f006d9acc668679b684f4888 Mon Sep 17 00:00:00 2001 From: Pirate Praveen <praveen@debian.org> Date: Thu, 29 Nov 2018 18:33:00 +0100 Subject: [PATCH] Typo fixes suggested by debian's lintian --- README.md | 2 +- internal/objectstore/multipart.go | 2 +- internal/upload/rewrite.go | 2 +- main.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8c52a8d16ba9a..bb0e4af127a04 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 aba123951cd5e..03ac965a6196c 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 88b1053ced630..ae36a1d1c8c3b 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 2a474157c7805..117c321b10908 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") -- GitLab