Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Tak <vtak@gitlab.com>2022-06-10 08:25:04 +0300
committerNejc Habjan <nejc.habjan@siemens.com>2022-06-27 11:36:53 +0300
commit770aba26fddb728107d278e906a5c1669671db0c (patch)
tree5c2a27de178b958eaac936a641545a66742fed4e /internal/redirects/redirects.go
parent9d39341fe0a5dad0080bd3d472c1b8fb757ceeb6 (diff)
Apply review suggestion
Diffstat (limited to 'internal/redirects/redirects.go')
-rw-r--r--internal/redirects/redirects.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/redirects/redirects.go b/internal/redirects/redirects.go
index 5d901505..f92a5806 100644
--- a/internal/redirects/redirects.go
+++ b/internal/redirects/redirects.go
@@ -43,7 +43,7 @@ var (
errNoParams = errors.New("params not supported")
errUnsupportedStatus = errors.New("status not supported")
errNoForce = errors.New("force! not supported")
- errTooManyPathSegments = fmt.Errorf("url path cannot contain more than %d forward slashes", cfg.MaxConfigSize)
+ errTooManyPathSegments = errors.New("url path contains more forward slashes than the configured maximum")
regexpPlaceholder = regexp.MustCompile(`(?i)/:[a-z]+`)
)