remove unused test and function
This commit is contained in:
parent
eefb32c667
commit
01351a6bf8
1 changed files with 0 additions and 5 deletions
|
@ -171,7 +171,6 @@ var (
|
||||||
"proxySetHeader": proxySetHeader,
|
"proxySetHeader": proxySetHeader,
|
||||||
"buildInfluxDB": buildInfluxDB,
|
"buildInfluxDB": buildInfluxDB,
|
||||||
"enforceRegexModifier": enforceRegexModifier,
|
"enforceRegexModifier": enforceRegexModifier,
|
||||||
"stripLocationModifer": stripLocationModifer,
|
|
||||||
"buildCustomErrorDeps": buildCustomErrorDeps,
|
"buildCustomErrorDeps": buildCustomErrorDeps,
|
||||||
"buildCustomErrorLocationsPerServer": buildCustomErrorLocationsPerServer,
|
"buildCustomErrorLocationsPerServer": buildCustomErrorLocationsPerServer,
|
||||||
"shouldLoadModSecurityModule": shouldLoadModSecurityModule,
|
"shouldLoadModSecurityModule": shouldLoadModSecurityModule,
|
||||||
|
@ -373,10 +372,6 @@ func needsRewrite(location *ingress.Location) bool {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
func stripLocationModifer(path string) string {
|
|
||||||
return strings.TrimLeft(path, "~* ")
|
|
||||||
}
|
|
||||||
|
|
||||||
// enforceRegexModifier checks if the "rewrite-target" or "use-regex" annotation
|
// enforceRegexModifier checks if the "rewrite-target" or "use-regex" annotation
|
||||||
// is used on any location path within a server
|
// is used on any location path within a server
|
||||||
func enforceRegexModifier(input interface{}) bool {
|
func enforceRegexModifier(input interface{}) bool {
|
||||||
|
|
Loading…
Reference in a new issue